EntraIdApplicationResource.WithApiPermissions
Method
type EntraIdApplicationResource interface { // ... omitted for brevity WithApiPermissions( api EntraIdApplicationResource, scopeNames []string, ) EntraIdApplicationResource}Signature
method
WithApiPermissions builderDeclares that this registration requires delegated permissions to scopes of another registration in the AppHost.
WithApiPermissions( api EntraIdApplicationResource, scopeNames []string,) EntraIdApplicationResourceParameters
apiEntraIdApplicationResource The registration that exposes the scopes.scopeNames []string The names of the scopes, added with WithScope to api.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: