Skip to main content

DefaultIncludeGrantedScopes Constant

Specifies if the authorization agent can request additional access scopes by using the incremental authorization feature.

Declaration

const DefaultIncludeGrantedScopes: Boolean = True;

Returns

Type
Boolean

Remarks

Certain OAuth 2.0 authorization servers support incremental authorization that allows you to request end-user consent to work with additional online resources without restarting the active authorization session. The DefaultIncludeGrantedScopes writable typed constant is not in use, since the current implementation of OAuth 2.0-compatible DevExpress authorization agents does not support incremental authorization.

You can use one of these two approaches work with access permissions if your application creates and destroys multiple different data providers at runtime:

  • Provide a predefined scopes list that includes all unique access permissions that all providers require;

  • Restart the authorization session every time the list of associated data providers changes.

See Also