ClientCollection.AddIdentityServerSPA 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 a single page application that coexists with an authorization server.
public:
void AddIdentityServerSPA(System::String ^ clientId, Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ClientBuilder ^> ^ configure);
public:
IdentityServer4::Models::Client ^ AddIdentityServerSPA(System::String ^ clientId, Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ClientBuilder ^> ^ configure);
public void AddIdentityServerSPA (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
public IdentityServer4.Models.Client AddIdentityServerSPA (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
public Duende.IdentityServer.Models.Client AddIdentityServerSPA (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
member this.AddIdentityServerSPA : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> unit
member this.AddIdentityServerSPA : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> IdentityServer4.Models.Client
member this.AddIdentityServerSPA : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> Duende.IdentityServer.Models.Client
Public Sub AddIdentityServerSPA (clientId As String, configure As Action(Of ClientBuilder))
Public Function AddIdentityServerSPA (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 default single page application.
Returns
IdentityServer4.Models.Client
Duende.IdentityServer.Models.Client