EntraIdApplicationResource.WithAdminConsent
Method
type EntraIdApplicationResource interface { // ... omitted for brevity WithAdminConsent( api EntraIdApplicationResource, scopeNames []string, ) EntraIdApplicationResource}Signature
method
WithAdminConsent builderGrants tenant-wide consent to delegated permissions that this registration declared for another registration in the AppHost.
WithAdminConsent( api EntraIdApplicationResource, scopeNames []string,) EntraIdApplicationResourceParameters
apiEntraIdApplicationResource The registration that exposes the scopes.scopeNames []string The names of scopes already declared with WithApiPermissions .Returns
EntraIdApplicationResource The resource builder for chaining.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: