Package com.inrupt.client.spi
Interface AuthenticationProvider
- All Known Implementing Classes:
OpenIdAuthenticationProvider
public interface AuthenticationProvider
An authentication mechanism that knows how to authenticate over network connections.
Please note that the ReactiveAuthorization
class
explicitly prohibits the use of Basic
and Digest
authorization schemes.
-
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.
-
Method Details
-
getSchemes
Return the set of supported authorization schemes, such as Bearer or DPoP.- Returns:
- the authorization schemes
-
getAuthenticator
Return an authenticator for the supplied challenge.- Parameters:
challenge
- the HTTP challenge value- Returns:
- an authenticator
-