Class ClientAuthenticatorAPI

    • Constructor Detail

      • ClientAuthenticatorAPI

        public ClientAuthenticatorAPI()
    • Method Detail

      • getByUuid

        @Nullable
        public ClientAuthenticator getByUuid​(UserContext uc,
                                             Mandant client,
                                             UUID uuid)
        Parameters:
        uc - Current user context for database transactions.
        uuid - UUID of the authenticator to retrieve.
        client - Client of the authenticator.
        Returns:
        The authenticator with the given UUID within the given client, or null when no such authenticator exist.
      • getByCallback

        @Nullable
        public ClientAuthenticator getByCallback​(UserContext uc,
                                                 UUID callbackUuid)
        Finds the client authenticator by its callback UUID.
        Parameters:
        uc - Current user context for accessing the database.
        callbackUuid - Callback UUID of the authenticator to retrieve.
        Returns:
        The authenticator with the given callback UUID, or null when no such authenticator exist.