GoogleAuthenticationOptions Class

Represents the Google authentication options.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.AuthenticationOptions
    Microsoft.Owin.Security.Google.GoogleAuthenticationOptions

Namespace:  Microsoft.Owin.Security.Google
Assembly:  Microsoft.Owin.Security.Google (in Microsoft.Owin.Security.Google.dll)

Syntax

'Declaration
Public Class GoogleAuthenticationOptions _
    Inherits AuthenticationOptions
'Usage
Dim instance As GoogleAuthenticationOptions
public class GoogleAuthenticationOptions : AuthenticationOptions
public ref class GoogleAuthenticationOptions : public AuthenticationOptions
type GoogleAuthenticationOptions =  
    class 
        inherit AuthenticationOptions 
    end
public class GoogleAuthenticationOptions extends AuthenticationOptions

The GoogleAuthenticationOptions type exposes the following members.

Constructors

  Name Description
Public method GoogleAuthenticationOptions Initializes a new instance of the GoogleAuthenticationOptions class.

Top

Properties

  Name Description
Public property AuthenticationMode If Active the authentication middleware alter the request user coming in and alter 401 Unauthorized responses going out. If Passive the authentication middleware will only provide identity and alter responses when explicitly indicated by the AuthenticationType. (Inherited from AuthenticationOptions.)
Public property AuthenticationType The AuthenticationType in the options corresponds to the IIdentity AuthenticationType property. A different value may be assigned in order to use the same authentication middleware type more than once in a pipeline. (Inherited from AuthenticationOptions.)
Public property BackchannelCertificateValidator Gets or sets the a pinned certificate validator to use to validate the endpoints used in back channel communications belong to Google.
Public property BackchannelHttpHandler The HttpMessageHandler used to communicate with Google. This cannot be set at the same time as BackchannelCertificateValidator unless the value can be downcast to a WebRequestHandler.
Public property BackchannelTimeout Gets or sets timeout value in milliseconds for back channel communications with Google.
Public property CallbackPath Gets or sets the path to which the authentication service should redirect after the a user sign in.
Public property Caption Gets or sets the caption used for the authentication.
Public property Description Additional information about the authentication type which is made available to the application. (Inherited from AuthenticationOptions.)
Public property Provider Gets or sets the Google authentication provider.
Public property SignInAsAuthenticationType Gets or sets the authentication type that is used when signing in the Google.
Public property StateDataFormat Gets or sets the type used to secure data handled by the middleware.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Owin.Security.Google Namespace