Interface IIndirectClientAuthorizationHandler

    • Method Detail

      • getByAuthenticator

        List<IndirectClientAuthorization> getByAuthenticator​(UserContext uc,
                                                             IAuthenticator<?> auth)
        Retrieves all indirect client authorizations that use the given authenticator.
        Parameters:
        uc - User context for database transactions.
        auth - The authenticator that is used by the indirect client authorizations.
        Returns:
        A list of all indirect client authorizations that use the given authenticator.
      • getByUserProfile

        List<IndirectClientAuthorization> getByUserProfile​(UserContext uc,
                                                           org.pac4j.core.profile.UserProfile userProfile)
        Returns all indirect client authorizations which match the profile based on the configured filter.
        Parameters:
        uc - user context for database transactions
        userProfile - to check for
        Returns:
        a list of indirect client authorizations which match the profile based on the configured filter.