Package com.qfs.security
Interface IJwtAuthentication
-
- All Superinterfaces:
org.springframework.security.core.Authentication,Principal,Serializable
- All Known Implementing Classes:
JwtAuthentication
public interface IJwtAuthentication extends org.springframework.security.core.AuthenticationInterface which should be used byAuthenticationbased on JWT so that Quartet components can reuse the token.- Author:
- ActiveViam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetCredentials()Gets the JWT that proves the principal is correct.DategetExpirationTime()Gets the expiration time of the token.
-
-
-
Method Detail
-
getCredentials
Object getCredentials()
Gets the JWT that proves the principal is correct.- Specified by:
getCredentialsin interfaceorg.springframework.security.core.Authentication- Returns:
- the token that proves the identity of the
Principal
-
getExpirationTime
Date getExpirationTime()
Gets the expiration time of the token.- Returns:
- The expiration time,
nullif not specified.
-
-