Package org.intermine.web.struts.oauth2
Interface OAuthProvider
-
- All Known Implementing Classes:
CustomOAuthProvider,DefaultOAuthProvider
public interface OAuthProviderA description of an OAuth Provider that we can use as a source of identity information.- Author:
- Alex Kalderimis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetClientId()java.lang.StringgetClientSecret()MessageFormatgetMessageFormat()java.lang.StringgetName()ResponseTypegetResponseType()java.lang.StringgetTokenUrl()
-
-
-
Method Detail
-
getName
java.lang.String getName()
- Returns:
- the name of the provider
-
getTokenUrl
java.lang.String getTokenUrl()
- Returns:
- the URL for the token endpoint
-
getClientId
java.lang.String getClientId()
- Returns:
- the configured client id for this provider
-
getClientSecret
java.lang.String getClientSecret()
- Returns:
- the configured client secret for this provider
-
getMessageFormat
MessageFormat getMessageFormat()
- Returns:
- the message format this provider expects.
-
getResponseType
ResponseType getResponseType()
- Returns:
- the format in which this provider responds.
-
-