Interface ISsoStatus
- Namespace
- ComponentSpace.Saml2
- Assembly
- ComponentSpace.Saml2.dll
Specifies the SSO status.
public interface ISsoStatus
Methods
CanSloAsync()
Indicates whether the local provider can single logout to one or more partner providers.
To single logout, one or more partner providers must have successfully completed SSO and also support SLO.
Task<bool> CanSloAsync()
Returns
- Task<bool>
A task that represents the operation and returns
trueif single logout can occur; otherwisefalse.
CanSloAsync(string)
Indicates whether the local provider can single logout to a partner provider.
To single logout, the partner provider must have successfully completed SSO and also support SLO.
Task<bool> CanSloAsync(string partnerName)
Parameters
partnerNamestringThe partner provider name.
Returns
- Task<bool>
A task that represents the operation and returns
trueif single logout can occur; otherwisefalse.
GetConfigurationName()
Gets the SAML configuration name for the current SAML SSO session.
string GetConfigurationName()
Returns
- string
The configuration name or
nullif none.
GetPartnerPendingResponse(string)
Gets the name of the partner provider to which a response is pending for the specified correlation ID.
string GetPartnerPendingResponse(string correlationID)
Parameters
correlationIDstring
Returns
- string
The name of the partner provider or
nullif none.
GetPartnersPendingResponse()
Gets the names of the partner providers to which a single sign-on or logout response is pending.
string[] GetPartnersPendingResponse()
Returns
- string[]
The names of the partner providers or
nullif none.
IsSloCompletionPending()
Indicates whether completion of single logout is pending.
Single logout is pending if a logout request has been received but a logout response hasn't been sent or a logout request has been sent but a logout response hasn't been received.
bool IsSloCompletionPending()
Returns
- bool
trueif single logout completion is pending; otherwisefalse.
IsSloCompletionPending(string)
Indicates whether completion of single logout is pending.
Single logout is pending if a logout request has been received but a logout response hasn't been sent or a logout request has been sent but a logout response hasn't been received.
bool IsSloCompletionPending(string partnerName)
Parameters
partnerNamestringThe partner provider name.
Returns
- bool
trueif single logout completion is pending; otherwisefalse.
IsSso()
Indicates whether the local provider is currently single signed-on with any partner provider.
bool IsSso()
Returns
- bool
trueif currently single signed-on; otherwisefalse.
IsSso(string)
Indicates whether the local provider is currently single signed-on with the specified partner provider.
bool IsSso(string partnerName)
Parameters
partnerNamestringThe partner provider name.
Returns
- bool
trueif currently single signed-on; otherwisefalse.
IsSsoCompletionPending()
Indicates whether completion of single sign-on is pending.
Single sign-on is pending if the service provider has sent an authn request but the identity provider hasn't sent the SAML response.
bool IsSsoCompletionPending()
Returns
- bool
trueif single sign-on completion is pending; otherwisefalse.
IsSsoCompletionPending(string)
Indicates whether completion of single sign-on is pending with the specified partner provider.
Single sign-on is pending if the service provider has sent an authn request but the identity provider hasn't sent the SAML response.
bool IsSsoCompletionPending(string partnerName)
Parameters
partnerNamestringThe partner provider name.
Returns
- bool
trueif single sign-on completion is pending; otherwisefalse.