EntraIdApplicationResource.withPreAuthorizedApplication
Method
interface EntraIdApplicationResource { // ... 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 Defined on
This method is defined on the following type: