public static void EnableAzureAdB2cOAuth2(this SwaggerDocsConfig c, string tenantId, bool useV2Endpoint, params ScopeDescription[] scopes) { c.EnableAzureAdB2cOAuth2(tenantId, useV2Endpoint, "OAuth2 Implicit Grant", scopes); }
public static void EnableAzureAdB2cOAuth2(this SwaggerDocsConfig c, string tenantId, string description, params ScopeDescription[] scopes) { c.EnableAzureAdB2cOAuth2(tenantId, true, description, scopes); }
public static void EnableAzureAdB2cOAuth2(this SwaggerDocsConfig c) { c.EnableAzureAdB2cOAuth2(B2cGlobalSwaggerConfig.TenantId, B2cGlobalSwaggerConfig.UseV2Endpoint, B2cGlobalSwaggerConfig.ApplicationDescription, B2cGlobalSwaggerConfig.Scopes); }