EntraIdApplicationResource.withPreAuthorizedApplication

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
interface EntraIdApplicationResource {
// ... omitted for brevity
withPreAuthorizedApplication(
client: EntraIdApplicationResource,
scopeNames: string[]): EntraIdApplicationResource;
}

Signature

methodwithPreAuthorizedApplicationbuilder
Pre-authorizes a client application to request some of this registration's scopes without any consent prompt.
withPreAuthorizedApplication(
client: EntraIdApplicationResource,
scopeNames: string[]): EntraIdApplicationResource
clientEntraIdApplicationResourceThe client application to pre-authorize.
scopeNamesstring[]The names of the scopes, added with `WithScope`, that the client may request.
EntraIdApplicationResource

Defined on

This method is defined on the following type: