@FunctionalInterface public interface TokenResolver
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorizationToken(String requestVerb,
String resourceIdOrFullName,
CosmosResourceType resourceType,
Map<String,Object> properties)
This method will consume the request information and based on that it will generate the authorization token.
|
String getAuthorizationToken(String requestVerb, String resourceIdOrFullName, CosmosResourceType resourceType, Map<String,Object> properties)
properties - the user properties.requestVerb - Request verb i.e. GET, POST, PUT etc.resourceIdOrFullName - ResourceID or resource full name.resourceType - Resource type i.e. Database, DocumentCollection, Document etc.Copyright © 2019. All rights reserved.