Class AuthorizationProvider

    • Constructor Detail

      • AuthorizationProvider

        public AuthorizationProvider​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • create

        public static AuthorizationProvider create​(String id,
                                                   Set<Authorization> authorizations)
        create an authorization provider with the specified id and authorizations
        Parameters:
        id -
        authorizations -
        Returns:
      • getId

        public String getId()
        returns the id of the authorization provider
        Returns:
      • getAuthorizations

        public void getAuthorizations​(User user,
                                      Handler<AsyncResult<Void>> handler)
        Updates the user with the set of authorizations.
        Parameters:
        user - user to lookup and update
        handler - result handler
      • getAuthorizations

        public void getAuthorizations​(User user)
        Updates the user with the set of authorizations.
        Parameters:
        user - user to lookup and update
      • rxGetAuthorizations

        public io.reactivex.Completable rxGetAuthorizations​(User user)
        Updates the user with the set of authorizations.
        Parameters:
        user - user to lookup and update
        Returns: