Interface IridaClientDetailsService

    • Method Detail

      • loadClientByClientId

        IridaClientDetails loadClientByClientId​(java.lang.String clientId)
        Get the IridaClientDetails by clientDetails
        Parameters:
        clientId - The client_id of the client to fetch.
        Returns:
        The client
      • countTokensForClient

        int countTokensForClient​(IridaClientDetails client)
        Get the number of tokens issued for a given IridaClientDetails
        Parameters:
        client - Client to count tokens for
        Returns:
        Number of tokens issued for the given client
      • revokeTokensForClient

        void revokeTokensForClient​(IridaClientDetails client)
        Revoke all OAuth2 tokens for a given IridaClientDetails
        Parameters:
        client - The client to revoke tokens for
      • countActiveTokensForClient

        int countActiveTokensForClient​(IridaClientDetails client)
        Get the number of all tokens defined for a given IridaClientDetails that are valid and not expired.
        Parameters:
        client - the IridaClientDetails to get tokens for
        Returns:
        number of tokens defined for the client.