Package com.inrupt.client.openid
Class OpenIdAuthenticationProvider
java.lang.Object
com.inrupt.client.openid.OpenIdAuthenticationProvider
- All Implemented Interfaces:
AuthenticationProvider
An authentication mechanism that makes use of OpenID Tokens.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA mechanism capable of retrieving an access token from an OpenId Provider. -
Constructor Summary
ConstructorsConstructorDescriptionOpenIdAuthenticationProvider(int priority) Create anOpenIdAuthenticationProviderwith a defined priority. -
Method Summary
Modifier and TypeMethodDescriptiongetAuthenticator(Challenge challenge) Return an authenticator for the supplied challenge.Return the set of supported authorization schemes, such as Bearer or DPoP.
-
Constructor Details
-
OpenIdAuthenticationProvider
public OpenIdAuthenticationProvider() -
OpenIdAuthenticationProvider
public OpenIdAuthenticationProvider(int priority) Create anOpenIdAuthenticationProviderwith a defined priority.- Parameters:
priority- the priority of this authentication mechanism
-
-
Method Details
-
getSchemes
Description copied from interface:AuthenticationProviderReturn the set of supported authorization schemes, such as Bearer or DPoP.- Specified by:
getSchemesin interfaceAuthenticationProvider- Returns:
- the authorization schemes
-
getAuthenticator
Description copied from interface:AuthenticationProviderReturn an authenticator for the supplied challenge.- Specified by:
getAuthenticatorin interfaceAuthenticationProvider- Parameters:
challenge- the HTTP challenge value- Returns:
- an authenticator
-