public CredentialDiagnosticScope StartGetTokenScopeGroup(string fullyQualifiedMethod, TokenRequestContext context) { var scopeHandler = new ScopeGroupHandler(this, fullyQualifiedMethod); CredentialDiagnosticScope scope = new CredentialDiagnosticScope(fullyQualifiedMethod, context, scopeHandler); scope.Start(); return(scope); }
public CredentialDiagnosticScope StartGetTokenScope(string fullyQualifiedMethod, TokenRequestContext context) { IScopeHandler scopeHandler = _groupScopeHandler ?? _defaultScopeHandler; CredentialDiagnosticScope scope = new CredentialDiagnosticScope(fullyQualifiedMethod, context, scopeHandler); scope.Start(); return(scope); }
public CredentialDiagnosticScope StartGetTokenScope(string fullyQualifiedMethod, TokenRequestContext context) { AzureIdentityEventSource.Singleton.GetToken(fullyQualifiedMethod, context); CredentialDiagnosticScope scope = new CredentialDiagnosticScope(fullyQualifiedMethod, Diagnostics.CreateScope(fullyQualifiedMethod), context); scope.Start(); return(scope); }