- java.lang.Object
-
- swim.api.auth.AbstractAuthenticator
-
- swim.auth.OpenIdAuthenticator
-
- All Implemented Interfaces:
Authenticator
,IpInterface
,Log
public class OpenIdAuthenticator extends AbstractAuthenticator
-
-
Field Summary
Fields Modifier and Type Field Description protected FingerTrieSeq<String>
audiences
protected FingerTrieSeq<String>
issuers
protected FingerTrieSeq<PublicKeyDef>
publicKeyDefs
-
Fields inherited from class swim.api.auth.AbstractAuthenticator
context
-
-
Constructor Summary
Constructors Constructor Description OpenIdAuthenticator(OpenIdAuthenticatorDef authenticatorDef)
OpenIdAuthenticator(FingerTrieSeq<String> issuers, FingerTrieSeq<String> audiences, FingerTrieSeq<PublicKeyDef> publicKeyDefs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FingerTrieSeq<String>
audiences()
PolicyDirective<Identity>
authenticate(Credentials credentials)
PolicyDirective<Identity>
authenticate(Uri requestUri, Uri fromUri, JsonWebSignature jws)
FingerTrieSeq<String>
issuers()
FingerTrieSeq<PublicKeyDef>
publicKeyDefs()
-
Methods inherited from class swim.api.auth.AbstractAuthenticator
authenticatorContext, bindTcp, bindTls, connectTcp, connectTls, debug, didFail, didStart, didStop, error, fail, info, ipSettings, schedule, setAuthenticatorContext, stage, trace, warn, willStart, willStop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.io.IpInterface
bindTcp, bindTcp, bindTcp, bindTls, bindTls, bindTls, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTls, connectTls, connectTls, connectTls, connectTls, connectTls, connectTls
-
-
-
-
Field Detail
-
issuers
protected final FingerTrieSeq<String> issuers
-
audiences
protected final FingerTrieSeq<String> audiences
-
publicKeyDefs
protected final FingerTrieSeq<PublicKeyDef> publicKeyDefs
-
-
Constructor Detail
-
OpenIdAuthenticator
public OpenIdAuthenticator(FingerTrieSeq<String> issuers, FingerTrieSeq<String> audiences, FingerTrieSeq<PublicKeyDef> publicKeyDefs)
-
OpenIdAuthenticator
public OpenIdAuthenticator(OpenIdAuthenticatorDef authenticatorDef)
-
-
Method Detail
-
issuers
public final FingerTrieSeq<String> issuers()
-
audiences
public final FingerTrieSeq<String> audiences()
-
publicKeyDefs
public final FingerTrieSeq<PublicKeyDef> publicKeyDefs()
-
authenticate
public PolicyDirective<Identity> authenticate(Credentials credentials)
- Specified by:
authenticate
in interfaceAuthenticator
- Specified by:
authenticate
in classAbstractAuthenticator
-
authenticate
public PolicyDirective<Identity> authenticate(Uri requestUri, Uri fromUri, JsonWebSignature jws)
-
-