public interface CBSNode extends EndpointStateNotifier, Closeable
| Modifier and Type | Method and Description |
|---|---|
Mono<OffsetDateTime> |
authorize(String audience,
String scopes)
Authorizes the caller with the CBS node to access resources for the
audience. |
getConnectionStates, getCurrentState, getErrors, getShutdownSignalsMono<OffsetDateTime> authorize(String audience, String scopes)
audience.audience - The audience to which the token applies. This can be the path within the AMQP message broker.scopes - The requested scopes for the TokenCredential.Copyright © 2019 Microsoft Corporation. All rights reserved.