| Package | Description |
|---|---|
| io.cellery.observability.auth | |
| io.cellery.observability.auth.internal |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.oltu.oauth2.client.response.OAuthAccessTokenResponse |
AuthUtils.exchangeAuthCode(String authCode)
Exchange auth code for tokens.
|
Permission[] |
AuthProvider.getAllAllowedPermissions(String accessToken)
Get an array of all the permissions allowed for a user.
|
String |
DcrProvider.getClientId()
Get the client ID of the SP created for observability portal.
|
String |
DcrProvider.getClientSecret()
Get the client secret of the SP created for observability portal.
|
protected boolean |
CelleryLocalAuthProvider.isTokenValid(String token)
Validate if a token is a valid token issued by the IdP.
|
boolean |
CelleryLocalAuthProvider.isTokenValid(String token,
Permission requiredPermission) |
boolean |
AuthProvider.isTokenValid(String token,
Permission requiredPermission)
Validate the token.
|
| Constructor and Description |
|---|
CelleryLocalAuthProvider() |
| Modifier and Type | Method and Description |
|---|---|
static AuthConfig |
AuthConfig.getInstance() |
Copyright © 2019 WSO2. All rights reserved.