All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.sdk.iot.service.digitaltwin.authentication.BearerTokenProvider Maven / Gradle / Ivy

The newest version!
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

package com.microsoft.azure.sdk.iot.service.digitaltwin.authentication;

/**
 * Interface for providing a bearer authentication token for use in RBAC based authentication.
 */
public interface BearerTokenProvider {

    /**
     * Get a bearer token. The token is expected to be in the format "Bearer "
     * @return a bearer token.
     */
    String getBearerToken();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy