WithScope
Method
func (EntraIdApplicationResource) WithScope( name string, description string, options ...*EntraIdScopeOptions,) EntraIdApplicationResourceSignature
method
WithScope builderExposes a delegated permission scope that clients can request to call this registration as an API.
WithScope( name string, description string, options ...*EntraIdScopeOptions,) EntraIdApplicationResourceParameters
namestringThe scope's name, which appears in the token's scp claim, such as access_as_user.descriptionstringWhat the scope allows, shown on the consent page.options...*EntraIdScopeOptions Optional settings, described under Options.Options
Optional parameters are passed as the existing *EntraIdScopeOptions struct.
Returns
EntraIdApplicationResource The registration builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: