Class SAMLIdentifiers.BindingURIs
The SAML binding URIs.
Inherited Members
Namespace: ComponentSpace.SAML2
Assembly: ComponentSpace.Saml2.dll
Syntax
public static class SAMLIdentifiers.BindingURIs
  Fields
HTTPArtifact
HTTP artifact
Declaration
public const string HTTPArtifact = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact"
  Field Value
| Type | Description | 
|---|---|
| string | 
HTTPPost
HTTP POST
Declaration
public const string HTTPPost = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
  Field Value
| Type | Description | 
|---|---|
| string | 
HTTPRedirect
HTTP redirect
Declaration
public const string HTTPRedirect = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
  Field Value
| Type | Description | 
|---|---|
| string | 
PAOS
PAOS
Declaration
public const string PAOS = "urn:oasis:names:tc:SAML:2.0:bindings:PAOS"
  Field Value
| Type | Description | 
|---|---|
| string | 
SOAP
SOAP
Declaration
public const string SOAP = "urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
  Field Value
| Type | Description | 
|---|---|
| string | 
URI
URI
Declaration
public const string URI = "urn:oasis:names:tc:SAML:2.0:bindings:URI"
  Field Value
| Type | Description | 
|---|---|
| string | 
Methods
BindingToURI(Binding)
Converts the binding to the corresponding binding URI.
Declaration
public static string BindingToURI(SAMLIdentifiers.Binding binding)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SAMLIdentifiers.Binding | binding | The binding.  | 
      
Returns
| Type | Description | 
|---|---|
| string | The binding URI.  | 
      
Exceptions
| Type | Condition | 
|---|---|
| SAMLBindingException | Thrown when the binding is invalid.  | 
      
URIToBinding(string)
Converts the binding URI to the corresponding binding.
Declaration
public static SAMLIdentifiers.Binding URIToBinding(string bindingURI)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | bindingURI | The binding URI.  | 
      
Returns
| Type | Description | 
|---|---|
| SAMLIdentifiers.Binding | The binding.  | 
      
Exceptions
| Type | Condition | 
|---|---|
| SAMLBindingException | Thrown when the binding URI is invalid.  |