Click or drag to resize

UserContextGetDirectLoginURL Method

Returns a direct login URL BugzID: 92963 - Platform way to get a one-time login url for a user id

Namespace:  NetQuarry.Security
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string GetDirectLoginURL(
	IAppContext appCxt,
	string userID,
	string rootUrl,
	string appID = null,
	int timeoutMinutes = 20,
	string proxyUserGUID = null
)

Parameters

appCxt
Type: NetQuarryIAppContext
The application context object.
userID
Type: SystemString
The user_id value to use to build the URL
rootUrl
Type: SystemString
The root of the fully qualified url to use
appID (Optional)
Type: SystemString
The application id to use. If this is null, the current application's ID is used.
timeoutMinutes (Optional)
Type: SystemInt32
The number of minutes that the URL should last.
proxyUserGUID (Optional)
Type: SystemString
The user_guid value for the proxy user (typically admin user using a login-as scheme)

Return Value

Type: String
A one-time use login url, valid for timeoutMinutes.
See Also