- java.lang.Object
-
- swim.linker.AuthDef
-
- All Implemented Interfaces:
Authenticator
- Direct Known Subclasses:
GoogleIdAuthDef
,OpenIdAuthDef
public abstract class AuthDef extends Object implements Authenticator
-
-
Field Summary
Fields Modifier and Type Field Description protected AuthenticatorContext
context
-
Constructor Summary
Constructors Constructor Description AuthDef()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract PolicyDirective<Identity>
authenticate(Credentials credentials)
static Form<AuthDef>
authForm()
AuthenticatorContext
getContext()
void
setContext(AuthenticatorContext context)
abstract Value
toValue()
-
-
-
Field Detail
-
context
protected AuthenticatorContext context
-
-
Method Detail
-
getContext
public AuthenticatorContext getContext()
-
setContext
public void setContext(AuthenticatorContext context)
-
authenticate
public abstract PolicyDirective<Identity> authenticate(Credentials credentials)
- Specified by:
authenticate
in interfaceAuthenticator
-
toValue
public abstract Value toValue()
-
-