public interface IAuthenticator
| Modifier and Type | Method and Description |
|---|---|
UserIdentity |
authenticate(Authenticator authenticator,
javax.ws.rs.core.MultivaluedMap<String,String> parameters,
URI callback)
Authenticate and/or create a user identity for a specific client, given
the URI from an authentication delegate.
|
javax.ws.rs.core.Response |
delegate(Authenticator configuration,
URI callback)
Delegate an authentication request to a third party authentication
provider, such as Google, Facebook, etc.
|
default void |
validate(Authenticator authenticator)
Validate that a particular authentication configuration is valid for
this IdP.
|
javax.ws.rs.core.Response delegate(Authenticator configuration, URI callback)
configuration - The authenticator configuration.callback - The redirect, on this server, where the response
should go.default void validate(Authenticator authenticator) throws KangarooException
authenticator - The authenticator configuration.KangarooException - Thrown if the internal parameters
are invalid.UserIdentity authenticate(Authenticator authenticator, javax.ws.rs.core.MultivaluedMap<String,String> parameters, URI callback)
authenticator - The authenticator configuration.parameters - Parameters for the authenticator, retrieved from
an appropriate source.callback - The redirect that was provided to the original
authorize call.Copyright © 2018 krotscheck.net. All rights reserved.