ApiResourceCollection.AddIdentityServerJwt Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.