Interface AuthorizationProvider


  • public interface AuthorizationProvider
    The role of an AuthorizationProvider is to return a set of Authorization. Note that each AuthorizationProvider must provide its own unique Id
    Author:
    stephane bastian
    • Method Detail

      • getId

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

        Future<Void> getAuthorizations​(User user)
        Updates the user with the set of authorizations.
        Parameters:
        user - user to lookup and update.
        Returns:
        Future void to signal end of asynchronous call.