public final class MediaConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AZURE_AD_API_SERVER
The azure media services account uri
|
static String |
AZURE_AD_TOKEN_PROVIDER
The token provider object
|
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
configureWithAzureAdTokenProvider(Configuration configuration,
URI apiServer,
TokenProvider azureAdTokenProvider)
Setup a Configuration with specified Configuration, AMS account and token provider
|
static Configuration |
configureWithAzureAdTokenProvider(URI apiServer,
TokenProvider azureAdTokenProvider)
Returns the default Configuration provisioned for the specified AMS account and token provider.
|
public static final String AZURE_AD_TOKEN_PROVIDER
public static final String AZURE_AD_API_SERVER
public static Configuration configureWithAzureAdTokenProvider(URI apiServer, TokenProvider azureAdTokenProvider)
apiServer - the AMS account uriazureAdTokenProvider - the token providerpublic static Configuration configureWithAzureAdTokenProvider(Configuration configuration, URI apiServer, TokenProvider azureAdTokenProvider)
configuration - The target configurationapiServer - the AMS account uriazureAdTokenProvider - the token provider/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/