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)

Inheritance Hierarchy

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

Syntax

public sealed class LSCredentialFormContext : LSFormContext
public ref class LSCredentialFormContext sealed : LSFormContext
[<Sealed>]
type LSCredentialFormContext = 
    class
        inherit LSFormContext
    end
Public NotInheritable Class LSCredentialFormContext
    Inherits LSFormContext

Properties

Name Description
System_CAPS_pubproperty AcceptableAuthenticationMethods

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

System_CAPS_pubproperty CurrentAction

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

System_CAPS_pubproperty IsClientNonInteractive

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

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

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.

Thread Safety

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

See Also

System.Web.Security.SingleSignOn Namespace

Return to top