Udostępnij za pośrednictwem


ClientCollection.AddNativeApp(String, Action<ClientBuilder>) Metoda

Definicja

Dodaje zewnętrznie zarejestrowaną aplikację natywną.

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

Parametry

clientId
String

Identyfikator klienta dla aplikacji jednostronicowej.

configure
Action<ClientBuilder>

Element Action<T> do konfigurowania aplikacji natywnej.

Zwraca

IdentityServer4.Models.Client
Duende.IdentityServer.Models.Client

Dotyczy