public static class AdditionalValidationPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AdditionalValidationPolicy.Builder |
audiences(List<String> audiences)
The list of intended recipients for the token.
|
AdditionalValidationPolicy |
build() |
AdditionalValidationPolicy.Builder |
copy(AdditionalValidationPolicy model) |
AdditionalValidationPolicy.Builder |
issuers(List<String> issuers)
A list of parties that could have issued the token.
|
AdditionalValidationPolicy.Builder |
verifyClaims(List<JsonWebTokenClaim> verifyClaims)
A list of claims which should be validated to consider the token valid.
|
public AdditionalValidationPolicy.Builder issuers(List<String> issuers)
A list of parties that could have issued the token.
issuers
- the value to setpublic AdditionalValidationPolicy.Builder audiences(List<String> audiences)
The list of intended recipients for the token.
audiences
- the value to setpublic AdditionalValidationPolicy.Builder verifyClaims(List<JsonWebTokenClaim> verifyClaims)
A list of claims which should be validated to consider the token valid.
verifyClaims
- the value to setpublic AdditionalValidationPolicy build()
public AdditionalValidationPolicy.Builder copy(AdditionalValidationPolicy model)
Copyright © 2016–2024. All rights reserved.