OAuth2BearerTokenAuthenticationPolicy Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public OAuth2BearerTokenAuthenticationPolicy(System.ClientModel.AuthenticationTokenProvider tokenProvider, System.Collections.Generic.IEnumerable<System.Collections.Generic.IReadOnlyDictionary<string,object>> contexts);
new System.ClientModel.Primitives.OAuth2BearerTokenAuthenticationPolicy : System.ClientModel.AuthenticationTokenProvider * seq<System.Collections.Generic.IReadOnlyDictionary<string, obj>> -> System.ClientModel.Primitives.OAuth2BearerTokenAuthenticationPolicy
Public Sub New (tokenProvider As AuthenticationTokenProvider, contexts As IEnumerable(Of IReadOnlyDictionary(Of String, Object)))
Parameters
- tokenProvider
- AuthenticationTokenProvider
- contexts
- IEnumerable<IReadOnlyDictionary<String,Object>>