public static class GenerateUserSecurityTokenDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GenerateUserSecurityTokenDetails |
build() |
GenerateUserSecurityTokenDetails.Builder |
copy(GenerateUserSecurityTokenDetails model) |
GenerateUserSecurityTokenDetails.Builder |
publicKey(String publicKey)
The user-owned public key in PEM format that corresponds to the RSA key pair used for
signing requests.
|
GenerateUserSecurityTokenDetails.Builder |
sessionExpirationInMinutes(Integer sessionExpirationInMinutes)
User session expiration in minutes to which the requested user principal session token
(UPST) is bounded.
|
public GenerateUserSecurityTokenDetails.Builder publicKey(String publicKey)
The user-owned public key in PEM format that corresponds to the RSA key pair used for signing requests. The user also owns the corresponding private key. This public key will be put inside the user security token by the auth service after successful validation of the request.
publicKey
- the value to setpublic GenerateUserSecurityTokenDetails.Builder sessionExpirationInMinutes(Integer sessionExpirationInMinutes)
User session expiration in minutes to which the requested user principal session token (UPST) is bounded. Valid values are from 5 to 60 for all realms.
sessionExpirationInMinutes
- the value to setpublic GenerateUserSecurityTokenDetails build()
public GenerateUserSecurityTokenDetails.Builder copy(GenerateUserSecurityTokenDetails model)
Copyright © 2016–2024. All rights reserved.