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
Modifier and TypeClassDescriptionclass
A mechanism capable of retrieving an access token from an OpenId Provider. -
Constructor Summary
ConstructorDescriptionOpenIdAuthenticationProvider
(int priority) Create anOpenIdAuthenticationProvider
with 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 anOpenIdAuthenticationProvider
with a defined priority.- Parameters:
priority
- the priority of this authentication mechanism
-
-
Method Details
-
getSchemes
Description copied from interface:AuthenticationProvider
Return the set of supported authorization schemes, such as Bearer or DPoP.- Specified by:
getSchemes
in interfaceAuthenticationProvider
- Returns:
- the authorization schemes
-
getAuthenticator
Description copied from interface:AuthenticationProvider
Return an authenticator for the supplied challenge.- Specified by:
getAuthenticator
in interfaceAuthenticationProvider
- Parameters:
challenge
- the HTTP challenge value- Returns:
- an authenticator
-