Interface OAuth2Provider

All Known Implementing Classes:
OAuth2ProviderBean

public interface OAuth2Provider
  • Method Details

    • getProviderId

      String getProviderId()
      Identifies the provider to this application, ie 'facebook' or 'twitter' or 'myownserver'
      Returns:
    • getAuthLocation

      String getAuthLocation()
      This is the URL we will redirect the user to, where they will enter their username and password into the remote application (if required) and authorise our app
      Returns:
    • getClientId

      String getClientId()
    • getClientSecret

      String getClientSecret()
    • getRedirectURI

      String getRedirectURI()
    • getTokenLocation

      String getTokenLocation()
      This is the URL we will call direct (server to server) to get an access token from the access code received in the redirect back to our site from the oauth server
      Returns:
    • getProfileLocation

      String getProfileLocation()
    • getPermissionScopes

      Collection<String> getPermissionScopes()
      Returns a list of named permission scopes, such as "email", "profile", etc, which determine what this client is permitted to do
      Returns: