public class UsernamePasswordCredential extends Object implements TokenCredential
DeviceCodeCredential
or InteractiveBrowserCredential
instead, or create a service principal if you want to authenticate silently.Modifier and Type | Method and Description |
---|---|
Mono<AccessToken> |
getToken(TokenRequestContext request) |
public Mono<AccessToken> getToken(TokenRequestContext request)
getToken
in interface TokenCredential
Copyright © 2019 Microsoft Corporation. All rights reserved.