IAuthLogOnWithExternalProvider Method |
Used to log in users with an external provider. Sends back a cookie that can be used to authenticate all future WS calls.
Should be used only when the plugin is also the external provider. The plugin should authorize the user before calling this method
The use of the shared-secret application key in the payload proves that only the external provider can call this method
Namespace:
Panopto.Server.Services.PublicAPI.V40
Assembly:
DataLib (in DataLib.dll) Version: 13.0.0.0 (13.0.0.00000)
Syntax bool LogOnWithExternalProvider(
string userKey,
string authCode
)
Parameters
- userKey
- Type: SystemString
The user's key - authCode
- Type: SystemString
Constructed as SHA1(UserKey + "@" + WebServerFQDN.ToLower() + "|" + applicationKey.ToLower())
Return Value
Type:
BooleanTrue if the login succeeded
See Also