EntraIdScopeOptions
Struct
Optional settings for a scope exposed by a created registration or described by an existing reference.
type EntraIdScopeOptions struct { DisplayName *string `json:"DisplayName"` UserConsentDisplayName *string `json:"UserConsentDisplayName"` UserConsentDescription *string `json:"UserConsentDescription"` RequiresAdminConsent *bool `json:"RequiresAdminConsent"` IsEnabled *bool `json:"IsEnabled"` Id *string `json:"Id"`}6 members
Fields
DisplayName *stringoptionalGets the scope's title, shown on the admin consent page. Defaults to the scope's name.
UserConsentDisplayName *stringoptionalGets the scope's title shown on the consent page for users. Defaults to the display name.
UserConsentDescription *stringoptionalGets what the scope allows, shown on the consent page for users. Defaults to the scope's description.
RequiresAdminConsent *booloptionalGets whether only an administrator can consent to the scope. Defaults to false, which lets users consent.
IsEnabled *booloptionalGets whether clients can request the scope. Defaults to true.
Id*stringoptionalGets the scope's ID as a GUID, which must stay the same across deployments. Aspire derives a stable ID when omitted.