Package org.trellisldp.oauth
Class FederatedJwtAuthenticator
- java.lang.Object
-
- org.trellisldp.oauth.FederatedJwtAuthenticator
-
- All Implemented Interfaces:
Authenticator
public class FederatedJwtAuthenticator extends Object implements Authenticator
A Federated JWT-based authenticator.
-
-
Constructor Summary
Constructors Constructor Description FederatedJwtAuthenticator(KeyStore keyStore, List<String> keyIds)
Create a Federated JWT-based authenticator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.jsonwebtoken.Claims
parse(String credentials)
Parse a token into a set of claims.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.trellisldp.oauth.Authenticator
authenticate
-
-
-
-
Method Detail
-
parse
public io.jsonwebtoken.Claims parse(String credentials)
Description copied from interface:Authenticator
Parse a token into a set of claims.- Specified by:
parse
in interfaceAuthenticator
- Parameters:
credentials
- the token- Returns:
- JWT claims
-
-