Update the provider contribution guide to use ProviderName instead of GetProviderName()

This commit is contained in:
Kévin Chalet 2022-10-17 19:12:59 +02:00
parent 9a9f96ed79
commit d8f8c1ad19

View File

@ -261,7 +261,7 @@ public class FormatNonStandardScopeParameter : IOpenIddictClientHandler<ProcessC
throw new ArgumentNullException(nameof(context)); throw new ArgumentNullException(nameof(context));
} }
context.Request.Scope = context.Registration.GetProviderName() switch context.Request.Scope = context.Registration.ProviderName switch
{ {
// The following providers are known to use comma-separated scopes instead of // The following providers are known to use comma-separated scopes instead of
// the standard format (that requires using a space as the scope separator): // the standard format (that requires using a space as the scope separator):