Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DefaultIncludeGrantedScopes Constant

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

#Declaration

Delphi
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