Export (0) Print
Expand All
Expand Minimize

SamlSecurityTokenHandler Methods

.NET Framework 4.5

The SamlSecurityTokenHandler type exposes the following members.

  Name Description
Protected method AddDelegateToAttributes Adds all of the delegates associated with the ActAs subject into the attribute collection.
Public method CanReadKeyIdentifierClause Returns a value that indicates whether the XML element referred to by the specified XML reader is a key identifier clause that can be deserialized by this instance. (Inherited from SecurityTokenHandler.)
Public method CanReadToken(String) Returns a value that indicates whether the specified string can be deserialized as a token of the type processed by this instance. (Inherited from SecurityTokenHandler.)
Public method CanReadToken(XmlReader) Indicates whether the current XML element can be read as a token of the type handled by this instance. (Overrides SecurityTokenHandler.CanReadToken(XmlReader).)
Public method CanWriteKeyIdentifierClause Returns a value that indicates whether the specified key identifier clause can be serialized by this instance. (Inherited from SecurityTokenHandler.)
Protected method CollectAttributeValues Collects attributes with a common claim type, claim value type, and original issuer into a single attribute with multiple values.
Protected method CreateAdvice When overridden in a derived class, creates a SamlAdvice object for the assertion.
Protected method CreateAssertion Creates a SamlAssertion object by using the specified issuer, conditions, advice and statements. You can override this method to customize the parameters used to create the assertion.
Protected method CreateAttribute Creates a SamlAttribute object from a claim.
Protected method CreateAttributeStatement Creates a SamlAttributeStatement object from a token descriptor.
Protected method CreateAuthenticationStatement Creates a SAML 1.1 authentication statement from the specified authentication information.
Protected method CreateClaims Creates claims from a SAML 1.1 token.
Protected method CreateConditions Creates the conditions for the assertion.
Protected method CreateSamlSubject Creates a SAML 1.1 subject for the assertion.
Public method CreateSecurityTokenReference Creates the security token reference when the token is not attached to the message. (Overrides SecurityTokenHandler.CreateSecurityTokenReference(SecurityToken, Boolean).)
Protected method CreateStatements Creates SAML 1.1 statements to be included in the assertion.
Public method CreateToken Creates a security token based on a token descriptor. (Overrides SecurityTokenHandler.CreateToken(SecurityTokenDescriptor).)
Protected method CreateWindowsIdentity Creates a WindowsIdentity object using the specified User Principal Name (UPN).
Protected method CreateXmlStringFromAttributes Builds an XML formatted string from a collection of SAML 1.1 attributes that represent the Actor.
Protected method DenormalizeAuthenticationType Returns the SAML11 authentication method identifier that matches the specified normalized value for a SAML authentication method.
Protected method DetectReplayedToken Throws an exception if the specified token already exists in the token replay cache; otherwise the token is added to the cache. (Overrides SecurityTokenHandler.DetectReplayedToken(SecurityToken).)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method FindUpn Finds the UPN claim value in the specified ClaimsIdentity object for the purpose of mapping the identity to a WindowsClaimsIdentity object.
Protected method GetEncryptingCredentials Gets the token encrypting credentials. Override this method to change the token encrypting credentials.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetSigningCredentials Gets the credentials for signing the assertion.
Protected method GetTokenReplayCacheEntryExpirationTime Returns the time until which the token should be held in the token replay cache.
Public method GetTokenTypeIdentifiers Gets the token type identifier(s) supported by this handler. (Overrides SecurityTokenHandler.GetTokenTypeIdentifiers().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method LoadCustomConfiguration Loads custom configuration from XML. (Overrides SecurityTokenHandler.LoadCustomConfiguration(XmlNodeList).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method NormalizeAuthenticationType Returns the normalized value that matches a SAML 1.1 authentication method identifier.
Protected method ProcessAttributeStatement Creates claims from a SAML 1.1 attribute statement and adds them to the specified subject.
Protected method ProcessAuthenticationStatement Creates claims from a SAML 1.1 authentication statement and adds them to the specified subject.
Protected method ProcessAuthorizationDecisionStatement Creates claims from a SAML 1.1 authorization decision statement and adds them to the specified subject.
Protected method ProcessSamlSubject Creates claims from the SAML 1.1 subject and adds them to the specified subject.
Protected method ProcessStatement Creates claims from a collection of SAML 1.1 statements and adds them to the specified subject.
Protected method ReadAction Reads the <saml:Action> element.
Protected method ReadAdvice Reads the <saml:Advice> element.
Protected method ReadAssertion Reads the <saml:Assertion> element.
Protected method ReadAttribute Reads the <saml:Attribute> element.
Protected method ReadAttributeStatement Reads the <saml:AttributeStatement> element, or a <saml:Statement> element that specifies an xsi:type of saml:AttributeStatementType.
Protected method ReadAttributeValue Reads an attribute value.
Protected method ReadAudienceRestrictionCondition Reads the <saml:AudienceRestrictionCondition> element from the specified XML reader.
Protected method ReadAuthenticationStatement Reads the <saml:AuthnStatement> element or a <saml:Statement> element that specifies an xsi:type of saml:AuthnStatementType.
Protected method ReadAuthorityBinding Read the <saml:AuthorityBinding> element.
Protected method ReadAuthorizationDecisionStatement Reads the <saml:AuthzDecisionStatement> element or a <saml:Statement> element that specifies an xsi:type of saml:AuthzDecisionStatementType.
Protected method ReadCondition Reads a saml:AudienceRestrictionCondition or a saml:DoNotCacheCondition from the specified reader
Protected method ReadConditions Reads the <saml:Conditions> element.
Protected method ReadDoNotCacheCondition Reads a saml:DoNotCacheCondition element from the specified XML reader.
Protected method ReadEvidence Reads the <saml:Evidence> element.
Public method ReadKeyIdentifierClause When overridden in a derived class, deserializes the XML referenced by the specified XML reader to a key identifier clause that references a token processed by the derived class. (Inherited from SecurityTokenHandler.)
Protected method ReadSigningKeyInfo Deserializes the SAML Signing KeyInfo.
Protected method ReadStatement Reads the <saml:Statement> element.
Protected method ReadSubject Reads the <saml:Subject> element.
Protected method ReadSubjectKeyInfo Deserializes the SAML Subject <ds:KeyInfo> element.
Public method ReadToken(String) When overridden in a derived class, deserializes the specified string to a token of the type processed by the derived class. (Inherited from SecurityTokenHandler.)
Public method ReadToken(XmlReader) Reads a SAML 1.1 token from the specified stream. (Overrides SecurityTokenHandler.ReadToken(XmlReader).)
Public method ReadToken(XmlReader, SecurityTokenResolver) When overridden in a derived class, deserializes the XML referenced by the specified XML reader to a token of the type processed by the derived class by using the specified token resolver. (Inherited from SecurityTokenHandler.)
Protected method ResolveIssuerToken Resolves the Signing Key Identifier to a SecurityToken.
Protected method ResolveSubjectKeyIdentifier Resolves the SecurityKeyIdentifier specified in a saml:Subject element.
Protected method SetDelegateFromAttribute This method gets called when a special type of SamlAttribute is detected. The SamlAttribute passed in wraps a SamlAttribute that contains a collection of attribute values (in the Values property), each of which will get mapped to a claim. All of the claims will be returned in an ClaimsIdentity with the specified issuer.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method TraceTokenValidationFailure Traces the failure event during the validation of security tokens when tracing is enabled. (Inherited from SecurityTokenHandler.)
Protected method TraceTokenValidationSuccess Traces the successful validation of security tokens event when tracing is enabled. (Inherited from SecurityTokenHandler.)
Protected method TryResolveIssuerToken Resolves the Signing Key Identifier to a SecurityToken.
Protected method ValidateConditions Validates the specified SamlConditions object.
Public method ValidateToken Validates the token data and returns its claims. (Overrides SecurityTokenHandler.ValidateToken(SecurityToken).)
Protected method WriteAction Writes the <saml:Action> element.
Protected method WriteAdvice Writes the <saml:Advice> element.
Protected method WriteAssertion Serializes the specified SAML assertion to the specified XML writer.
Protected method WriteAttribute Writes the <saml:Attribute> element.
Protected method WriteAttributeStatement Writes the <saml:AttributeStatement> element.
Protected method WriteAttributeValue Writes the saml:Attribute value.
Protected method WriteAudienceRestrictionCondition Writes the <saml:AudienceRestriction> element.
Protected method WriteAuthenticationStatement Writes the <saml:AuthnStatement> element.
Protected method WriteAuthorityBinding Writes the <saml:AuthorityBinding> element.
Protected method WriteAuthorizationDecisionStatement Writes the <saml:AuthzDecisionStatement> element.
Protected method WriteCondition Serializes the specified SamlCondition object.
Protected method WriteConditions Writes the <saml:Conditions> element.
Protected method WriteDoNotCacheCondition Writes the <saml:DoNotCacheCondition> element.
Protected method WriteEvidence Writes the <saml:Evidence> element.
Public method WriteKeyIdentifierClause When overridden in a derived class, serializes the specified key identifier clause to XML. The key identifier clause must be of the type supported by the derived class. (Inherited from SecurityTokenHandler.)
Protected method WriteSigningKeyInfo Writes the Signing <ds:KeyInfo> element using the specified XML writer.
Protected method WriteStatement Writes a SamlStatement.
Protected method WriteSubject Writes the <saml:Subject> element.
Protected method WriteSubjectKeyInfo Serializes the Subject <ds:KeyInfo> element using the specified XML writer.
Public method WriteToken(SecurityToken) When overridden in a derived class, serializes the specified security token to a string. The token must be of the type processed by the derived class. (Inherited from SecurityTokenHandler.)
Public method WriteToken(XmlWriter, SecurityToken) Writes a Saml Token to the specified XML writer. (Overrides SecurityTokenHandler.WriteToken(XmlWriter, SecurityToken).)
Top
Show:
© 2014 Microsoft