Click or drag to resize

GoogleOAuthClient Class

Oauth client implementation specific to Google
Inheritance Hierarchy
SystemObject
  Packflow.Interface.AccountGoogleOAuthClient

Namespace:  Packflow.Interface.Account
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public class GoogleOAuthClient : IOAuthClient

The GoogleOAuthClient type exposes the following members.

Constructors
  NameDescription
Public methodGoogleOAuthClient
Base constructor. Uses settings from configuration file.
Public methodGoogleOAuthClient(String, String)
Creates and initializes and OAuth client using given settings.
Top
Properties
  NameDescription
Public propertyGoogleClientId
The client id Google delivered when creating the OAuth service
Top
Methods
  NameDescription
Public methodGetOAuthToken
Returns an OAuth validation token for given parameters. Checks against OAuth provider if given auth code is valid.
Public methodGetUserData
Gets the google user data from OAuth token.
Public methodRefreshAccessToken
Refreshes an OAuth validation token. Checks against OAuth provider if given token code is valid and extends its validity.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also