EntraIdApplicationResource.WithPreAuthorizedApplication
Method
type EntraIdApplicationResource interface { // ... omitted for brevity WithPreAuthorizedApplication( client EntraIdApplicationResource, scopeNames []string, ) EntraIdApplicationResource}Signature
method
WithPreAuthorizedApplication builderPre-authorizes a client application to request some of this registration's scopes without any consent prompt.
WithPreAuthorizedApplication( client EntraIdApplicationResource, scopeNames []string,) EntraIdApplicationResourceParameters
clientEntraIdApplicationResource The client application to pre-authorize.scopeNames []string The names of the scopes, added with WithScope , that the client may request.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: