Class IndirectClientAuthorizationAPI

    • Constructor Detail

      • IndirectClientAuthorizationAPI

        public IndirectClientAuthorizationAPI()
    • Method Detail

      • getByAuthenticator

        public 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 authorization.
        Returns:
        A list of all indirect client authorizations that use the authenticator.
      • getByUserProfile

        public 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.