Class VideoMeetingPostLoginPlugin
Implements
Inherited Members
Namespace: SuperOffice.Security.Login
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[PostLoginPlugin("VideoMeetings")]
public class VideoMeetingPostLoginPlugin : IPostLoginPlugin
Constructors
VideoMeetingPostLoginPlugin()
Declaration
public VideoMeetingPostLoginPlugin()
Fields
Name
Declaration
public const string Name = "VideoMeetings"
Field Value
| Type | Description |
|---|---|
| string |
Methods
GetEndpointUri(string, string)
Obtain endpoint for external service where browser should be redirected
Declaration
public string GetEndpointUri(string callbackUri, string state)
Parameters
| Type | Name | Description |
|---|---|---|
| string | callbackUri | contains uri back to LoginControllers POST endpoint, already encoded |
| string | state | Must be returned by process callback and is url encoded |
Returns
| Type | Description |
|---|---|
| string | url the browser can be redirected to |
IsRequiredAsync(CancellationToken)
If the user needs to reauthenticate/authenticate we return an Ok response. Otherwise we return a NoContent to tell CRM it does not have to do anything
Declaration
public Task<bool> IsRequiredAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<bool> |
ProcessCallback(string, Dictionary<string, string>)
Handle payload and return state from external service
Declaration
public string ProcessCallback(string payload, Dictionary<string, string> args)
Parameters
| Type | Name | Description |
|---|---|---|
| string | payload | Body from Http Post message from external service |
| Dictionary<string, string> | args | url arguments |
Returns
| Type | Description |
|---|---|
| string | state as provided by GetEndpointUrl |