Table of Contents

Class GoogleLogin

Namespace
Shift.Common
Assembly
Shift.Common.dll
public class GoogleLogin
Inheritance
GoogleLogin
Inherited Members
Extension Methods

Constructors

GoogleLogin(GoogleSettings, OAuthRedirectUrl)

public GoogleLogin(GoogleSettings google, OAuthRedirectUrl redirectUrl)

Parameters

google GoogleSettings
redirectUrl OAuthRedirectUrl

Methods

Authenticate(string, Guid, Guid, string)

public OAuthAuthenticationResult Authenticate(string code, Guid cacheId, Guid organizationId, string host)

Parameters

code string
cacheId Guid
organizationId Guid
host string

Returns

OAuthAuthenticationResult

CreateAuthorizationRequest(Guid, string, string)

public string CreateAuthorizationRequest(Guid organizationId, string url, string host)

Parameters

organizationId Guid
url string
host string

Returns

string