|
|
|
@ -35,17 +35,22 @@ public class AbpOpenIddictAspNetCoreOptions |
|
|
|
public bool UseDefaultScopesForClientCredentials { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// When set to <c>true</c>, the access token issued for the <c>password</c> grant
|
|
|
|
/// automatically includes the scopes configured on the client application (permissions
|
|
|
|
/// prefixed with <c>oi_scp:</c>) when the client does not explicitly request any scope.
|
|
|
|
/// When set to <c>true</c>, the token response for the <c>password</c> grant automatically
|
|
|
|
/// grants the scopes configured on the client application (permissions prefixed with
|
|
|
|
/// <c>oi_scp:</c>) when the client does not explicitly request any scope. If the configured
|
|
|
|
/// scopes include <c>openid</c>/<c>profile</c>/<c>email</c>/<c>roles</c>, the corresponding
|
|
|
|
/// id_token and claim destinations are affected as well.
|
|
|
|
/// Default: false.
|
|
|
|
/// </summary>
|
|
|
|
public bool UseDefaultScopesForPassword { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// When set to <c>true</c>, the access token issued for the <c>urn:ietf:params:oauth:grant-type:token-exchange</c>
|
|
|
|
/// grant automatically includes the scopes configured on the client application (permissions
|
|
|
|
/// prefixed with <c>oi_scp:</c>) when the client does not explicitly request any scope.
|
|
|
|
/// When set to <c>true</c>, the token response for the
|
|
|
|
/// <c>urn:ietf:params:oauth:grant-type:token-exchange</c> grant automatically grants the
|
|
|
|
/// scopes configured on the client application (permissions prefixed with <c>oi_scp:</c>)
|
|
|
|
/// when the client does not explicitly request any scope. If the configured scopes include
|
|
|
|
/// <c>openid</c>/<c>profile</c>/<c>email</c>/<c>roles</c>, the corresponding id_token and
|
|
|
|
/// claim destinations are affected as well.
|
|
|
|
/// Default: false.
|
|
|
|
/// </summary>
|
|
|
|
public bool UseDefaultScopesForTokenExchange { get; set; } |
|
|
|
|