public class TokenConfiguration extends Object
| Constructor and Description |
|---|
TokenConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
int |
computeTokenExpiration(int maxExpiration,
boolean longLivedTokenAllowed) |
String |
getScope() |
Integer |
getTokenLifespanInSeconds() |
void |
setScope(String scope) |
void |
setTokenLifespanInSeconds(Integer tokenLifespanInSeconds) |
public Integer getTokenLifespanInSeconds()
public void setTokenLifespanInSeconds(Integer tokenLifespanInSeconds)
public String getScope()
public void setScope(String scope)
public int computeTokenExpiration(int maxExpiration,
boolean longLivedTokenAllowed)
Copyright © 2020. All rights reserved.