TypeKeySecurity library documentation

TypeKeyIdentity.LoginUrl Method (Boolean, String)

Build a url to send the user to the Typekey server to get authenticated.

public string LoginUrl(
   bool needEmail,
   string returnUrl
);

Parameters

needEmail
Whether you are requesting the cleartext version of the user's email.
returnUrl
Specify the return url you need.

Return Value

Returns a TypeKey url that will prompt the user for his creds or silently log him in (when possible).

Remarks

The user will be sent back the the returnUrl you specify. Unless you really need the user's email, use needEmail=false.

See Also

TypeKeyIdentity Class | TypeKeySecurity Namespace | TypeKeyIdentity.LoginUrl Overload List