LSCredentialFormContext Class

 

Provides the information needed for a Web form to collect credentials.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

System.Object
  System.Web.Security.SingleSignOn.LSFormContext
    System.Web.Security.SingleSignOn.LSCredentialFormContext

public sealed class LSCredentialFormContext : LSFormContext

NameDescription
System_CAPS_pubpropertyAcceptableAuthenticationMethods

Gets an ArrayList that contains acceptable authentication methods. If this property is null, any authentication method is acceptable.

System_CAPS_pubpropertyCurrentAction

Gets an LSFormAction for casting an LSFormContext object to a more specific context type.(Inherited from LSFormContext.)

System_CAPS_pubpropertyIsClientNonInteractive

Indicates whether the client is unable to respond to an interactive Web UI.(Inherited from LSFormContext.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

The logon form should query the LSCredentialFormContext object and implement appropriate business logic based on its properties to collect credentials of an acceptable type. Once those credentials have been collected, the logon form should call the LogonClient method and provide the credentials.

For LSCredentialFormContext, CurrentAction will be CollectInitialCredentials or CollectAdditionalCredentials.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: