ClientCollection.AddNativeApp(String, Action<ClientBuilder>) 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.
Adds an externally registered native application..
public:
void AddNativeApp(System::String ^ clientId, Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ClientBuilder ^> ^ configure);
public:
IdentityServer4::Models::Client ^ AddNativeApp(System::String ^ clientId, Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ClientBuilder ^> ^ configure);
public void AddNativeApp (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
public IdentityServer4.Models.Client AddNativeApp (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
public Duende.IdentityServer.Models.Client AddNativeApp (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
member this.AddNativeApp : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> unit
member this.AddNativeApp : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> IdentityServer4.Models.Client
member this.AddNativeApp : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> Duende.IdentityServer.Models.Client
Public Sub AddNativeApp (clientId As String, configure As Action(Of ClientBuilder))
Public Function AddNativeApp (clientId As String, configure As Action(Of ClientBuilder)) As Client
Parameters
- clientId
- String
The client id for the single page application.
- configure
- Action<ClientBuilder>
The Action<T> to configure the native application.
Returns
IdentityServer4.Models.Client
Duende.IdentityServer.Models.Client