SecurityToken(SecurityTokenType tokenType, String tokenAudience, String tokenValue, Instant validFrom, Instant validUntil) 构造函数

定义

Creates an instance of security token.

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

参数

tokenAudience
String

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

tokenValue
String

string representation of the token value

validFrom
Instant

Instant from when this token is valid

validUntil
Instant

Instant when this token expires

适用于