Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​Extensions.​DependencyInjection.​AuthenticationBuilderSamlServiceProviderExtensions
Assembly: Duende.IdentityServer
Inheritance: object → AuthenticationBuilderSamlServiceProviderExtensions
Extension methods for registering the SAML 2.0 Service Provider handler on <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationBuilder" /> without requiring the dynamic provider infrastructure.
Methods
AddSamlServiceProvider​(AspNetCore.​Authentication.​AuthenticationBuilder builder,
System.​Action<​Duende.​IdentityServer.​Saml.​Configuration.​SamlServiceProviderOptions> configure)
Registers a standalone SAML 2.0 Service Provider authentication handler
with the default scheme name ( <see cref="F:Duende.IdentityServer.Saml.Configuration.SamlServiceProviderDefaults.Scheme" /> ).
Returns The builder, for chaining.
builder
The authentication builder.
configure
Action to configure the <see cref="T:Duende.IdentityServer.Saml.Configuration.SamlServiceProviderOptions" /> .
AddSamlServiceProvider​(AspNetCore.​Authentication.​AuthenticationBuilder builder,
string scheme,
System.​Action<​Duende.​IdentityServer.​Saml.​Configuration.​SamlServiceProviderOptions> configure)
Registers a standalone SAML 2.0 Service Provider authentication handler
with a custom scheme name.
Returns The builder, for chaining.
builder
The authentication builder.
scheme
The authentication scheme name.
configure
Action to configure the <see cref="T:Duende.IdentityServer.Saml.Configuration.SamlServiceProviderOptions" /> .
AddSamlServiceProvider​(AspNetCore.​Authentication.​AuthenticationBuilder builder,
string scheme,
string displayName,
System.​Action<​Duende.​IdentityServer.​Saml.​Configuration.​SamlServiceProviderOptions> configure)
Registers a standalone SAML 2.0 Service Provider authentication handler
with a custom scheme name and display name.
Returns The builder, for chaining.
builder
The authentication builder.
scheme
The authentication scheme name.
displayName
The display name for the authentication scheme.
configure
Action to configure the <see cref="T:Duende.IdentityServer.Saml.Configuration.SamlServiceProviderOptions" /> .
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object