pub enum StatusCode {
Show 23 variants Success, Requester, Responder, VersionMismatch, AuthnFailed, InvalidAttrNameOrValue, InvalidNameIDPolic, NoAuthnContext, NoAvailableIDP, NoPassive, NoSupportedIDP, PartialLogout, ProxyCountExceeded, RequestDenied, RequestUnsupported, RequestVersionDeprecated, RequestVersionTooHigh, RequestVersionTooLow, ResourceNotRecognized, TooManyResponses, UnknownAttrProfile, UnknownPrincipal, UnsupportedBinding,
}
Expand description

Variants

Success

urn:oasis:names:tc:SAML:2.0:status:Success The request succeeded. Additional information MAY be returned in the and/or elements.

Requester

urn:oasis:names:tc:SAML:2.0:status:Requester The request could not be performed due to an error on the part of the requester.

Responder

urn:oasis:names:tc:SAML:2.0:status:Responder The request could not be performed due to an error on the part of the SAML responder or SAML authority.

VersionMismatch

urn:oasis:names:tc:SAML:2.0:status:VersionMismatch The SAML responder could not process the request because the version of the request message was incorrect.

AuthnFailed

urn:oasis:names:tc:SAML:2.0:status:AuthnFailed The responding provider was unable to successfully authenticate the principal.

InvalidAttrNameOrValue

urn:oasis:names:tc:SAML:2.0:status:InvalidAttrNameOrValue Unexpected or invalid content was encountered within a <saml:Attribute> or <saml:AttributeValue> element.

InvalidNameIDPolic

urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy The responding provider cannot or will not support the requested name identifier policy.

NoAuthnContext

urn:oasis:names:tc:SAML:2.0:status:NoAuthnContext The specified authentication context requirements cannot be met by the responder.

NoAvailableIDP

urn:oasis:names:tc:SAML:2.0:status:NoAvailableIDP Used by an intermediary to indicate that none of the supported identity provider elements in an <IDPList> can be resolved or that none of the supported identity providers are available.

NoPassive

urn:oasis:names:tc:SAML:2.0:status:NoPassive Indicates the responding provider cannot authenticate the principal passively, as has been requested.

NoSupportedIDP

urn:oasis:names:tc:SAML:2.0:status:NoSupportedIDP Used by an intermediary to indicate that none of the identity providers in an are supported by the intermediary.

PartialLogout

urn:oasis:names:tc:SAML:2.0:status:PartialLogout Used by a session authority to indicate to a session participant that it was not able to propagate logout to all other session participants.

ProxyCountExceeded

urn:oasis:names:tc:SAML:2.0:status:ProxyCountExceeded Indicates that a responding provider cannot authenticate the principal directly and is not permitted to proxy the request further.

RequestDenied

urn:oasis:names:tc:SAML:2.0:status:RequestDenied The SAML responder or SAML authority is able to process the request but has chosen not to respond. This status code MAY be used when there is concern about the security context of the request message or the sequence of request messages received from a particular requester.

RequestUnsupported

urn:oasis:names:tc:SAML:2.0:status:RequestUnsupported The SAML responder or SAML authority does not support the request.

RequestVersionDeprecated

urn:oasis:names:tc:SAML:2.0:status:RequestVersionDeprecated The SAML responder cannot process any requests with the protocol version specified in the request.

RequestVersionTooHigh

urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooHigh The SAML responder cannot process the request because the protocol version specified in the request message is a major upgrade from the highest protocol version supported by the responder.

RequestVersionTooLow

urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooLow The SAML responder cannot process the request because the protocol version specified in the request message is too low.

ResourceNotRecognized

urn:oasis:names:tc:SAML:2.0:status:ResourceNotRecognized The resource value provided in the request message is invalid or unrecognized.

TooManyResponses

urn:oasis:names:tc:SAML:2.0:status:TooManyResponses The response message would contain more elements than the SAML responder is able to return.

UnknownAttrProfile

urn:oasis:names:tc:SAML:2.0:status:UnknownAttrProfile An entity that has no knowledge of a particular attribute profile has been presented with an attribute drawn from that profile.

UnknownPrincipal

urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal The responding provider does not recognize the principal specified or implied by the request.

UnsupportedBinding

urn:oasis:names:tc:SAML:2.0:status:UnsupportedBinding The SAML responder cannot properly fulfill the request using the protocol binding specified in the request.

Trait Implementations

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.