Dela via


ApiResourceCollection.AddIdentityServerJwt Method

Definition

Creates a new API that coexists with an authorization server.

public:
 void AddIdentityServerJwt(System::String ^ name, Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ApiResourceBuilder ^> ^ configure);
public void AddIdentityServerJwt (string name, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiResourceBuilder> configure);
member this.AddIdentityServerJwt : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiResourceBuilder> -> unit
Public Sub AddIdentityServerJwt (name As String, configure As Action(Of ApiResourceBuilder))

Parameters

name
String

The name of the API.

configure
Action<ApiResourceBuilder>

The Func<T,TResult> to configure the identity server jwt API.

Applies to