Share via


GoogleHandler Constructors

Definition

Overloads

GoogleHandler(IOptionsMonitor<GoogleOptions>, ILoggerFactory, UrlEncoder)

Initializes a new instance of GoogleHandler.

GoogleHandler(IOptionsMonitor<GoogleOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
Obsolete.

Initializes a new instance of GoogleHandler.

GoogleHandler(IOptionsMonitor<GoogleOptions>, ILoggerFactory, UrlEncoder)

Source:
GoogleHandler.cs
Source:
GoogleHandler.cs

Initializes a new instance of GoogleHandler.

public GoogleHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Google.GoogleOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder);
new Microsoft.AspNetCore.Authentication.Google.GoogleHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Google.GoogleOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder -> Microsoft.AspNetCore.Authentication.Google.GoogleHandler
Public Sub New (options As IOptionsMonitor(Of GoogleOptions), logger As ILoggerFactory, encoder As UrlEncoder)

Parameters

encoder
UrlEncoder

Applies to

GoogleHandler(IOptionsMonitor<GoogleOptions>, ILoggerFactory, UrlEncoder, ISystemClock)

Source:
GoogleHandler.cs
Source:
GoogleHandler.cs
Source:
GoogleHandler.cs
Source:
GoogleHandler.cs
Source:
GoogleHandler.cs
Source:
GoogleHandler.cs
Source:
GoogleHandler.cs
Source:
GoogleHandler.cs
Source:
GoogleHandler.cs

Caution

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Initializes a new instance of GoogleHandler.

public:
 GoogleHandler(Microsoft::Extensions::Options::IOptionsMonitor<Microsoft::AspNetCore::Authentication::Google::GoogleOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ logger, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
public GoogleHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Google.GoogleOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
[System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")]
public GoogleHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Google.GoogleOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
new Microsoft.AspNetCore.Authentication.Google.GoogleHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Google.GoogleOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.Google.GoogleHandler
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")>]
new Microsoft.AspNetCore.Authentication.Google.GoogleHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Google.GoogleOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.Google.GoogleHandler
Public Sub New (options As IOptionsMonitor(Of GoogleOptions), logger As ILoggerFactory, encoder As UrlEncoder, clock As ISystemClock)

Parameters

encoder
UrlEncoder
clock
ISystemClock
Attributes

Applies to