GoogleAppBuilderExtensions.UseGoogleAuthentication Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
UseGoogleAuthentication(IApplicationBuilder) |
Kedaluwarsa.
UseGoogleAuthentication sudah usang. Mengonfigurasi autentikasi Google dengan AddAuthentication(). TambahkanGoogle di ConfigureServices. Lihat https://go.microsoft.com/fwlink/?linkid=845470 untuk detail selengkapnya. |
UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) |
Kedaluwarsa.
UseGoogleAuthentication sudah usang. Mengonfigurasi autentikasi Google dengan AddAuthentication(). TambahkanGoogle di ConfigureServices. Lihat https://go.microsoft.com/fwlink/?linkid=845470 untuk detail selengkapnya. |
UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) |
GoogleMiddleware Menambahkan middleware ke yang ditentukan IApplicationBuilder, yang memungkinkan kemampuan autentikasi Google. |
UseGoogleAuthentication(IApplicationBuilder)
Perhatian
UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseGoogleAuthentication sudah usang. Mengonfigurasi autentikasi Google dengan AddAuthentication(). TambahkanGoogle di ConfigureServices. Lihat https://go.microsoft.com/fwlink/?linkid=845470 untuk detail selengkapnya.
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
Parameter
untuk IApplicationBuilder menambahkan handler.
Mengembalikan
Referensi ke instans ini setelah operasi selesai.
- Atribut
Berlaku untuk
UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)
Perhatian
UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseGoogleAuthentication sudah usang. Mengonfigurasi autentikasi Google dengan AddAuthentication(). TambahkanGoogle di ConfigureServices. Lihat https://go.microsoft.com/fwlink/?linkid=845470 untuk detail selengkapnya.
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
Parameter
untuk IApplicationBuilder menambahkan handler.
- options
- GoogleOptions
GoogleOptions yang menentukan opsi untuk handler.
Mengembalikan
Referensi ke instans ini setelah operasi selesai.
- Atribut
Berlaku untuk
UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)
GoogleMiddleware Menambahkan middleware ke yang ditentukan IApplicationBuilder, yang memungkinkan kemampuan autentikasi Google.
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
Parameter
untuk IApplicationBuilder menambahkan middleware.
- options
- GoogleOptions
GoogleOptions yang menentukan opsi untuk middleware.
Mengembalikan
Referensi ke instans ini setelah operasi selesai.