GoogleAppBuilderExtensions.UseGoogleAuthentication Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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)
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
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)
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
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
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.