JwtAuthentication

abstract class JwtAuthentication(val roles: Set<GrantedAuthority>) : Authentication

Specification of authentication object used for JWT authentication and authorization.

Throws

Inheritors

Constructors

Link copied to clipboard
constructor(roles: Set<GrantedAuthority>)

Properties

Link copied to clipboard
open val roles: Set<GrantedAuthority>

Functions

Link copied to clipboard
open override fun getAuthorities(): Set<GrantedAuthority>
Link copied to clipboard
open override fun getCredentials()
Link copied to clipboard
open override fun getDetails()
Link copied to clipboard
open override fun getName(): String
Link copied to clipboard
abstract fun getPayload(): Map<String, String>

Method used to retrieve the payload to be used for token creation.

Link copied to clipboard
open override fun getPrincipal()
Link copied to clipboard
open fun implies(p0: Subject): Boolean
Link copied to clipboard
open override fun isAuthenticated(): Boolean
Link copied to clipboard
open override fun setAuthenticated(isAuthenticated: Boolean)