Aracılığıyla paylaş


GoogleAppBuilderExtensions.UseGoogleAuthentication Yöntem

Tanım

Aşırı Yüklemeler

UseGoogleAuthentication(IApplicationBuilder)
Geçersiz.

UseGoogleAuthentication kullanımdan kaldırıldı. AddAuthentication() ile Google kimlik doğrulamasını yapılandırın. ConfigureServices'te AddGoogle. Diğer ayrıntılar için bkz https://go.microsoft.com/fwlink/?linkid=845470 .

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)
Geçersiz.

UseGoogleAuthentication kullanımdan kaldırıldı. AddAuthentication() ile Google kimlik doğrulamasını yapılandırın. ConfigureServices'te AddGoogle. Diğer ayrıntılar için bkz https://go.microsoft.com/fwlink/?linkid=845470 .

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

GoogleMiddleware Ara yazılımı belirtilen IApplicationBuilderöğesine ekler ve bu da Google kimlik doğrulama özelliklerini etkinleştirir.

UseGoogleAuthentication(IApplicationBuilder)

Kaynak:
GoogleAppBuilderExtensions.cs
Kaynak:
GoogleAppBuilderExtensions.cs

Dikkat

UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseGoogleAuthentication kullanımdan kaldırıldı. AddAuthentication() ile Google kimlik doğrulamasını yapılandırın. ConfigureServices'te AddGoogle. Diğer ayrıntılar için bkz https://go.microsoft.com/fwlink/?linkid=845470 .

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseGoogleAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseGoogleAuthentication (app As IApplicationBuilder) As IApplicationBuilder

Parametreler

app
IApplicationBuilder

IApplicationBuilder İşleyicinin ekleneceği yer.

Döndürülenler

İşlem tamamlandıktan sonra bu örneğe başvuru.

Öznitelikler

Şunlara uygulanır

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

Kaynak:
GoogleAppBuilderExtensions.cs
Kaynak:
GoogleAppBuilderExtensions.cs

Dikkat

UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseGoogleAuthentication kullanımdan kaldırıldı. AddAuthentication() ile Google kimlik doğrulamasını yapılandırın. ConfigureServices'te AddGoogle. Diğer ayrıntılar için bkz https://go.microsoft.com/fwlink/?linkid=845470 .

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseGoogleAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::Google::GoogleOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Google.GoogleOptions options);
[System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Google.GoogleOptions options);
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Google.GoogleOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Google.GoogleOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseGoogleAuthentication (app As IApplicationBuilder, options As GoogleOptions) As IApplicationBuilder

Parametreler

app
IApplicationBuilder

IApplicationBuilder İşleyicinin ekleneceği yer.

options
GoogleOptions

GoogleOptions İşleyici için seçenekleri belirten bir.

Döndürülenler

İşlem tamamlandıktan sonra bu örneğe başvuru.

Öznitelikler

Şunlara uygulanır

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

GoogleMiddleware Ara yazılımı belirtilen IApplicationBuilderöğesine ekler ve bu da Google kimlik doğrulama özelliklerini etkinleştirir.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseGoogleAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::GoogleOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.GoogleOptions options);
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.GoogleOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseGoogleAuthentication (app As IApplicationBuilder, options As GoogleOptions) As IApplicationBuilder

Parametreler

app
IApplicationBuilder

IApplicationBuilder Ara yazılımı eklemek için.

options
GoogleOptions

GoogleOptions Ara yazılım seçeneklerini belirten bir.

Döndürülenler

İşlem tamamlandıktan sonra bu örneğe başvuru.

Şunlara uygulanır