GoogleMiddleware Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An ASP.NET Core middleware for authenticating users using Google OAuth 2.0.
public ref class GoogleMiddleware : Microsoft::AspNetCore::Authentication::OAuth::OAuthMiddleware<Microsoft::AspNetCore::Builder::GoogleOptions ^>
public class GoogleMiddleware : Microsoft.AspNetCore.Authentication.OAuth.OAuthMiddleware<Microsoft.AspNetCore.Builder.GoogleOptions>
type GoogleMiddleware = class
inherit OAuthMiddleware<GoogleOptions>
Public Class GoogleMiddleware
Inherits OAuthMiddleware(Of GoogleOptions)
- Inheritance
Constructors
GoogleMiddleware(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<GoogleOptions>) |
Initializes a new GoogleMiddleware. |
Properties
AuthenticationScheme | (Inherited from AuthenticationMiddleware<TOptions>) |
Backchannel | (Inherited from OAuthMiddleware<TOptions>) |
Logger | (Inherited from AuthenticationMiddleware<TOptions>) |
Options | (Inherited from AuthenticationMiddleware<TOptions>) |
UrlEncoder | (Inherited from AuthenticationMiddleware<TOptions>) |
Methods
CreateHandler() |
Provides the AuthenticationHandler<TOptions> object for processing authentication-related requests. |
Invoke(HttpContext) | (Inherited from AuthenticationMiddleware<TOptions>) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for