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