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 TokenAggregate |
AuthorizationClientHelper.getTokenAggregate()
Authenticates the client with the Authorization Service and obtains a token aggregate.
|
static TokenAggregate |
AuthorizationClientHelper.getTokenAggregate(List scopes)
Authenticates the client with the Authorization Service, obtains a token aggregate and returns it; the client can request for
specific scopes during authentication by using the "scopes" parameter.
|
static TokenAggregate |
AuthorizationClientHelper.getTokenAggregate(String refreshToken)
Authenticates the client with the Authorization Service, obtains a token aggregate using a refresh token and returns it.
|
static TokenAggregate |
AuthorizationClientHelper.getTokenAggregateForUser(ServletRequest servletRequest)
Authenticates the client (along with the user's auth code) with the Authorization Service, obtains a token aggregate and returns it.
|
static TokenAggregate |
AuthorizationClientHelper.getTokenAggregateForUser(String userName,
String userPassword)
Authenticates the client and the end user with the Authorization Service, obtains a token aggregate and returns it.
|
static TokenAggregate |
AuthorizationClientHelper.getTokenAggregateForUser(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.