Package | Description |
---|---|
com.avaya.collaboration.authorization.client |
Helper APIs to aid Authorization Clients to obtain access tokens from Authorization Service.
|
Modifier and Type | Method and Description |
---|---|
static AccessToken |
AuthorizationClientHelper.getAccessToken()
Authenticates the client with the Authorization Service, obtains an access token and returns it.
|
AccessToken |
TokenAggregate.getAccessToken() |
static AccessToken |
AuthorizationClientHelper.getAccessToken(List scopes)
Authenticates the client with the Authorization Service, obtains an access token and returns it; the client can request for specific
scopes during authentication by using the "scopes" parameter.
|
static AccessToken |
AuthorizationClientHelper.getAccessTokenForUser(ServletRequest servletRequest)
Authenticates the client (along with the user's auth code) with the Authorization Service, obtains an access token and returns it.
|
static AccessToken |
AuthorizationClientHelper.getAccessTokenForUser(String userName,
String userPassword)
Authenticates the client and the end user with the Authorization Service, obtains an access token and returns it.
|
static AccessToken |
AuthorizationClientHelper.getAccessTokenForUser(String userName,
String userPassword,
List scopes)
Authenticates the client and the end user with the Authorization Service, obtains an access token and returns it; the client can
request for specific scopes during authentication by using the "scopes" parameter.
|
Copyright © 2023 Avaya. All rights reserved.