Package com.inrupt.client.openid
Class OpenIdAuthenticationProvider.OpenIdAuthenticator
java.lang.Object
com.inrupt.client.openid.OpenIdAuthenticationProvider.OpenIdAuthenticator
- All Implemented Interfaces:
 Authenticator
- Enclosing class:
 - OpenIdAuthenticationProvider
 
public class OpenIdAuthenticationProvider.OpenIdAuthenticator
extends Object
implements Authenticator
A mechanism capable of retrieving an access token from an OpenId Provider.
- 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOpenIdAuthenticator(int priority) The OpenIdAuthenticator with a defined priority. - 
Method Summary
 
- 
Constructor Details
- 
OpenIdAuthenticator
protected OpenIdAuthenticator(int priority) The OpenIdAuthenticator with a defined priority.- Parameters:
 priority- the priority of this authentication mechanism
 
 - 
 - 
Method Details
- 
getName
Description copied from interface:AuthenticatorGets the authenticator name (e.g. UMA, OpenID).- Specified by:
 getNamein interfaceAuthenticator- Returns:
 - the name
 
 - 
getPriority
public int getPriority()Description copied from interface:AuthenticatorGets the priority of the authenticator.- Specified by:
 getPriorityin interfaceAuthenticator- Returns:
 - the priority
 
 - 
authenticate
public CompletionStage<Credential> authenticate(Session session, Request request, Set<String> algorithms) Description copied from interface:AuthenticatorPerform an ansynchronous authentication process, resulting in an access token.- Specified by:
 authenticatein interfaceAuthenticator- Parameters:
 session- the client sessionrequest- the HTTP requestalgorithms- the supported DPoP algorithms- Returns:
 - the next stage of completion, containing the access token
 
 - 
toString
 
 -