AccessTokenOptions.Builder |
AccessTokenOptions.Builder.author(Member author) |
Set the author of the token (not the member used to sign in, but the Member who created it)
|
static AccessTokenOptions.Builder |
AccessTokenOptions.builder() |
Retrieve a new builder of AccessTokensOptions.
|
AccessTokenOptions.Builder |
AccessTokenOptions.Builder.expiresIn(java.time.Duration duration) |
Require expiration of token in specified duration.
|
AccessTokenOptions.Builder |
AccessTokenOptions.Builder.expiresOn(long expirationTime) |
Require expiration of token at specified time
|
AccessTokenOptions.Builder |
AccessTokenOptions.Builder.ipMask(java.lang.String ipMask) |
Set the regular expression to check client IP authorized use with the token
|
AccessTokenOptions.Builder |
AccessTokenOptions.Builder.methods(java.lang.String... methods) |
Set the method authorized for use with the token
|
AccessTokenOptions.Builder |
AccessTokenOptions.Builder.name(java.lang.String name) |
Set the name describing the token
|
AccessTokenOptions.Builder |
AccessTokenOptions.Builder.neverExpires() |
Require a token without expiration.
|
AccessTokenOptions.Builder |
AccessTokenOptions.Builder.prefixMode(boolean prefixMode) |
Tells if an token has to be generated for only a given URL (default behaviour), or a range of URL beginning with a given prefix (prefix mode).
|
AccessTokenOptions.Builder |
AccessTokenOptions.Builder.revokable() |
Indicate that this token is created to be revokable.
|
AccessTokenOptions.Builder |
AccessTokenOptions.Builder.revokable(boolean revokable) |
Indicate wether this token is created to be revokable or not.
|
AccessTokenOptions.Builder |
AccessTokenOptions.Builder.technical(boolean technical) |
Set wether token is created manually or programmatically
|
AccessTokenOptions.Builder |
AccessTokenOptions.Builder.userCreated() |
Indicate this token is created manually by a user action in the token manager UI.
|