Skip to content

Commit fee04ec

Browse files
nikithauczengin
andauthored
Update docs/TokenCredentialAuthenticationProvider.md
Co-authored-by: Mustafa Zengin <[email protected]>
1 parent 7e39e1b commit fee04ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/TokenCredentialAuthenticationProvider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const tokenCredential = new ClientSecretCredential("your_tenantId", "your_client
2323

2424
// Set your scopes and options for TokenCredential.getToken (Check the ` interface GetTokenOptions` in (TokenCredential Implementation)[https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-auth/src/tokenCredential.ts])
2525

26-
const options: TokenCredentialAuthenticationProviderOptions = { scopes: [scopes], getTokenOtions };
26+
const options: TokenCredentialAuthenticationProviderOptions = { scopes: [scopes], getTokenOptions };
2727

2828
// Create an instance of the TokenCredentialAuthenticationProvider by passing the tokenCredential instance and options to the constructor
2929
const authProvider = new TokenCredentialAuthenticationProvider(tokenCredential, options);

0 commit comments

Comments
 (0)