Udostępnij za pośrednictwem


GoogleAuthenticationOptions Class

 

Note: This API is now obsolete.

Configuration options for GoogleAuthenticationMiddleware

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

Inheritance Hierarchy

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

Syntax

[ObsoleteAttribute("Google is discontinuing support for the OpenId. Use OAuth2 instead.", 
    false)]
public class GoogleAuthenticationOptions : AuthenticationOptions
[ObsoleteAttribute("Google is discontinuing support for the OpenId. Use OAuth2 instead.", 
    false)]
public ref class GoogleAuthenticationOptions : AuthenticationOptions
[<ObsoleteAttribute("Google is discontinuing support for the OpenId. Use OAuth2 instead.",
    false)>]
type GoogleAuthenticationOptions = 
    class
        inherit AuthenticationOptions
    end
<ObsoleteAttribute("Google is discontinuing support for the OpenId. Use OAuth2 instead.",
    False)>
Public Class GoogleAuthenticationOptions
    Inherits AuthenticationOptions

Constructors

Name Description
System_CAPS_pubmethod GoogleAuthenticationOptions()

Initializes a new GoogleAuthenticationOptions

Properties

Name Description
System_CAPS_pubproperty 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.)

System_CAPS_pubproperty 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.)

System_CAPS_pubproperty BackchannelCertificateValidator

Gets or sets the a pinned certificate validator to use to validate the endpoints used in back channel communications belong to Google.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty BackchannelTimeout

Gets or sets timeout value in milliseconds for back channel communications with Google.

System_CAPS_pubproperty CallbackPath

The request path within the application's base path where the user-agent will be returned. The middleware will process this request when it arrives. Default value is "/signin-google".

System_CAPS_pubproperty Caption

Get or sets the text that the user can display on a sign in user interface.

System_CAPS_pubproperty Description

Additional information about the authentication type which is made available to the application.(Inherited from AuthenticationOptions.)

System_CAPS_pubproperty Provider

Gets or sets the IGoogleAuthenticationProvider used to handle authentication events.

System_CAPS_pubproperty SignInAsAuthenticationType

Gets or sets the name of another authentication middleware which will be responsible for actually issuing a user ClaimsIdentity.

System_CAPS_pubproperty StateDataFormat

Gets or sets the type used to secure data handled by the middleware.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.Owin.Security.Google Namespace

Return to top