Class AsyncRawAdminsClient


  • public class AsyncRawAdminsClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncRawAdminsClient

        public AsyncRawAdminsClient​(ClientOptions clientOptions)
    • Method Detail

      • identify

        public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<AdminWithApp>>> identify()
        You can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology).

        🚧 Single Sign On

        If you are building a custom "Log in with Intercom" flow for your site, and you call the /me endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.

      • identify

        public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<AdminWithApp>>> identify​(RequestOptions requestOptions)
        You can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology).

        🚧 Single Sign On

        If you are building a custom "Log in with Intercom" flow for your site, and you call the /me endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.

      • list

        public java.util.concurrent.CompletableFuture<IntercomHttpResponse<AdminList>> list()
        You can fetch a list of admins for a given workspace.