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 Detail

      • 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.