mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-09-18 17:48:00 +08:00
Update the provider contribution guide to use ProviderName instead of GetProviderName()
This commit is contained in:
@@ -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):
|
||||||
|
Reference in New Issue
Block a user