SecurityToken 类

定义

This class encapsulates the details of a security token.

public class SecurityToken
继承
java.lang.Object
SecurityToken

构造函数

SecurityToken(SecurityTokenType tokenType, String tokenAudience, String tokenValue, Instant validFrom, Instant validUntil)

Creates an instance of security token.

方法

getTokenAudience()

Gets the path of the entity for which this token is to be presented.

getTokenType()

Gets the type of this security token.

getTokenValue()

Gets the value of this token.

getValidFrom()

Gets the start time of this token validity

getValidUntil()

Gets the end time of this token validity.

适用于