Поделиться через


GoogleHandler Конструкторы

Определение

Перегрузки

GoogleHandler(IOptionsMonitor<GoogleOptions>, ILoggerFactory, UrlEncoder)

Инициализирует новый экземпляр GoogleHandler.

GoogleHandler(IOptionsMonitor<GoogleOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
Устаревшие..

Инициализирует новый экземпляр GoogleHandler.

GoogleHandler(IOptionsMonitor<GoogleOptions>, ILoggerFactory, UrlEncoder)

Исходный код:
GoogleHandler.cs
Исходный код:
GoogleHandler.cs

Инициализирует новый экземпляр 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)

Параметры

encoder
UrlEncoder

Применяется к

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

Исходный код:
GoogleHandler.cs
Исходный код:
GoogleHandler.cs
Исходный код:
GoogleHandler.cs
Исходный код:
GoogleHandler.cs
Исходный код:
GoogleHandler.cs
Исходный код:
GoogleHandler.cs
Исходный код:
GoogleHandler.cs
Исходный код:
GoogleHandler.cs
Исходный код:
GoogleHandler.cs

Внимание!

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Инициализирует новый экземпляр 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)

Параметры

encoder
UrlEncoder
clock
ISystemClock
Атрибуты

Применяется к