Interface IJwtAuthentication

All Superinterfaces:
org.springframework.security.core.Authentication, Principal, Serializable
All Known Implementing Classes:
JwtAuthentication

public interface IJwtAuthentication extends org.springframework.security.core.Authentication
Interface which should be used by Authentication based on JWT so that Quartet components can reuse the token.
Author:
ActiveViam
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the JWT that proves the principal is correct.
    Gets the expiration time of the token.

    Methods inherited from interface org.springframework.security.core.Authentication

    getAuthorities, getDetails, getPrincipal, isAuthenticated, setAuthenticated

    Methods inherited from interface java.security.Principal

    equals, getName, hashCode, implies, toString
  • Method Details

    • getCredentials

      Object getCredentials()
      Gets the JWT that proves the principal is correct.
      Specified by:
      getCredentials in interface org.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, null if not specified.