LSAuthenticationObject Class

 

Allows web forms (like clientlogon.aspx) to interact with the Federation Service or Federation Service Proxy on which they are running.

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

System.Object
  System.Web.Security.SingleSignOn.LSAuthenticationObject

public class LSAuthenticationObject

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticCurrent

Gets the LSAuthenticationObject for the current request, if applicable. The property will return null if an appropriate LSAuthenticationObject cannot be located.

System_CAPS_pubpropertyFormContext

Gets information about the type of action that is required of the Web form that is being invoked and queries for any additional data needed to perform that action.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticBeginLogonClient(ClientCredentialInfo, AsyncCallback, Object)

Logs on a client asynchronously. This method should be called by an asynchronous logon form when it has collected credentials, generally from the Begin asynchronous handler for OnPreRenderComplete.

System_CAPS_pubmethodSystem_CAPS_staticBeginLogonClient(WindowsIdentity, AsyncCallback, Object)

Logs on a client asynchronously. This method should be called by an asynchronous logon form when it has collected credentials, generally from the Begin asynchronous handler for OnPreRenderComplete.

System_CAPS_pubmethodSystem_CAPS_staticEndLogonClient(IAsyncResult)

Retrieves the result of logging on a client asynchronously. This method should be called by an asynchronous logon form when it has collected credentials, generally from the End asynchronous handler for OnPreRenderComplete.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitiateBasicAuthentication()

Initiates basic authentication. This method should be called by the logon form when it wishes to perform basic authentication. Typically this is done when username/password credentials are desired and IsClientNonInteractive is true.

System_CAPS_pubmethodIssueResourceToken()

Issues a resource token. This method should be called by the policy enforcement form to indicate that the policy has been enforced and the Federation Service should issue a token.

System_CAPS_pubmethodLogonClient(ClientCredentialInfo)

Logs on a client. This method should be called by the logon form when it has collected credentials.

System_CAPS_pubmethodLogonClient(WindowsIdentity)

Logs on a client. This method should be called by the logon form when it has collected credentials.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRedirectToAccountFederationPartner(String)

Redirects the client to an account partner for authentication. This method should be called by the discovery form when a user's home realm has been determined.

System_CAPS_pubmethodToString()

(Inherited from Object.)

The programming model for an AD FS web form should be to call LSAuthenticationObject. Current to get the LSAuthenticationObject for the current request, then to check the FormContext property to see what action is being performed and retrieve any data needed to perform that action.

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: