Interface IClientAuthenticatorDao

    • Method Detail

      • getByUuid

        @Nullable
        ClientAuthenticator getByUuid​(IEntityContext ec,
                                      Mandant client,
                                      UUID uuid)
        Parameters:
        ec - Current entity context for accessing the database.
        client - Client where to search for the authenticator.
        uuid - UUID of the authenticator to retrieve.
        Returns:
        The authenticator with the given UUID that belongs to the client, or null when no such authenticator exist.
      • getByCallback

        @Nullable
        ClientAuthenticator getByCallback​(IEntityContext ec,
                                          UUID callbackUuid)
        Finds the client authenticator by its callback UUID.
        Parameters:
        ec - Current entity 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.
      • isNameExisiting

        boolean isNameExisiting​(IEntityContext ec,
                                Mandant client,
                                String name)
        Returns whether or not the given client authenticator name exists within the gieven client.
        Parameters:
        ec - IEntityContext to be used
        name - String authenticator name to check
        client - Mandant to look in for the name
        Returns:
        whether or not the given name is unique
        Since:
        8.0.0