public interface ClaimsBasedSecurityNode extends AutoCloseable
| 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. |
void |
close()
Closes session to the claims-based security node.
|
Mono<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.void close()
close in interface AutoCloseableCopyright © 2021 Microsoft Corporation. All rights reserved.