Skip to content

abc-software/Abc.IdentityModel.v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Active Directory IdentityModel Extensions for .NET

Decryption

Enable decryption of encrypted SAML1.1 and SAML2.0 tokens

services
.AddAuthentication()
.AddWsFederation(options =>
    options.TokenValidationParameters.TokenDecryptionKey = new X509SecurityKey(serviceCertificate);
    options.SecurityTokenHandlers = new Collection<ISecurityTokenValidator>() {
                new Abc.IdentityModel.Tokens.Saml2.Saml2SecurityTokenHandler(),
                new Abc.IdentityModel.Tokens.Saml.SamlSecurityTokenHandler(),
            }
);

About

IdentityModel extensions for .Net

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages