Package com.inrupt.client.auth
Interface Authenticator
- All Known Implementing Classes:
OpenIdAuthenticationProvider.OpenIdAuthenticator
public interface Authenticator
An interface for handling authentication challenges.
-
Method Details
-
getName
String getName()Gets the authenticator name (e.g. UMA, OpenID).- Returns:
- the name
-
getPriority
int getPriority()Gets the priority of the authenticator.- Returns:
- the priority
-
authenticate
Perform an ansynchronous authentication process, resulting in an access token.- Parameters:
session
- the client sessionrequest
- the HTTP requestalgorithms
- the supported DPoP algorithms- Returns:
- the next stage of completion, containing the access token
-