MockTokenCredential Class
- java.
lang. Object - com.
azure. core. test. utils. MockTokenCredential
- com.
Implements
public class MockTokenCredential
implements TokenCredential
This class mocks the behavior of TokenCredential
without making a network call with dummy credentials.
Constructor Summary
Constructor | Description | |
---|---|---|
MockTokenCredential() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Mono<Access |
getToken(TokenRequestContext request) |
Methods inherited from java.lang.Object
Constructor Details
MockTokenCredential
public MockTokenCredential()
Method Details
getToken
public Mono
Parameters:
request