Interface IClientAuthorizationDao<T extends IEntityClientAuthorization>

    • Method Detail

      • getAllByClient

        List<T> getAllByClient​(IEntityContext ec,
                               Mandant client)
        Finds all authorizations for a given client scope.
        Parameters:
        ec - Entity context for accessing the database
        client - Client scope where to look for users.
        Returns:
        A list with all authorizations from the given client scope.
      • getByUuid

        default T getByUuid​(IEntityContext ec,
                            Mandant client,
                            String uuid)
        Returns the client authorization for the given UUID string and client
        Parameters:
        ec - IEntityContext to use
        client - Mandant context in which to look for authorization
        uuid - String UUID string of the authorization
        Returns:
        An authorization item for the given UUID and client
      • getByUuid

        default T getByUuid​(IEntityContext ec,
                            Mandant client,
                            UUID uuid)
        Returns the client authorization for the given UUID and client
        Parameters:
        ec - IEntityContext to use
        client - Mandant context in which to look for authorization
        uuid - UUID UUID of the authorization
        Returns:
        An authorization item for the given UUID and client