public class TokenCredentials extends Object implements ServiceClientCredentials
| Constructor and Description |
|---|
TokenCredentials(String scheme,
String token)
Initializes a new instance of the TokenCredentials.
|
public String authorizationHeaderValue(String uri) throws IOException
authorizationHeaderValue in interface ServiceClientCredentialsuri - The URI to which the request is being made.IOException - if unable to get the authorization header value/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/