GoogleOptions Class

Configuration options for Microsoft.AspNetCore.Authentication.Google.GoogleMiddleware.

Namespace
Microsoft.AspNetCore.Builder
Assemblies
  • Microsoft.AspNetCore.Authentication.Google

Syntax

public class GoogleOptions : OAuthOptions
class Microsoft.AspNetCore.Builder.GoogleOptions

Constructors

GoogleOptions()

Initializes a new Microsoft.AspNetCore.Builder.GoogleOptions.

public GoogleOptions()

Properties

Microsoft.AspNetCore.Builder.GoogleOptions.AccessType

access_type. Set to ‘offline’ to request a refresh token.

Return type:System.String
public string AccessType { get; set; }