public static class RefreshRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RefreshRequest |
build() |
RefreshRequest.Builder |
copy(RefreshRequest model) |
RefreshRequest.Builder |
currentToken(String currentToken)
The current security token that is to be renewed.
|
RefreshRequest.Builder |
newPublicKey(String newPublicKey)
An optional new public for the new token.
|
public RefreshRequest.Builder currentToken(String currentToken)
The current security token that is to be renewed.
currentToken
- the value to setpublic RefreshRequest.Builder newPublicKey(String newPublicKey)
An optional new public for the new token. If not supplied, currentToken’s public key will be used.
newPublicKey
- the value to setpublic RefreshRequest build()
public RefreshRequest.Builder copy(RefreshRequest model)
Copyright © 2016–2024. All rights reserved.