Show / Hide Table of Contents

Class VideoMeetingPostLoginPlugin

Inheritance
object
VideoMeetingPostLoginPlugin
Implements
IPostLoginPlugin
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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

Implements

IPostLoginPlugin

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top