@webda/google-auth • Readme | API
Class: GoogleAuthentication<T>
Manage Google Authentication
Webda Modda
Extends
OAuthService
<T
,GoogleAuthEvents
>
Type parameters
• T extends GoogleParameters
= GoogleParameters
Implements
RequestFilter
<WebContext
>
Constructors
new GoogleAuthentication(webda, name, params)
new GoogleAuthentication<
T
>(webda
,name
,params
?):GoogleAuthentication
<T
>
Ensure default parameter url
Parameters
• webda: Core
<CoreEvents
>
• name: string
• params?: any
Returns
Inherited from
OAuthService<T, GoogleAuthEvents>.constructor
Source
core/lib/services/oauth.d.ts:117
Properties
_authenticationService
_authenticationService:
Authentication
<AuthenticationParameters
,AuthenticationEvents
>
Inherited from
OAuthService._authenticationService
Source
core/lib/services/oauth.d.ts:106
_client
protected
_client:OAuth2Client
Source
google-auth/src/google-auth.ts:77
_createException
_createException:
string
Inherited from
OAuthService._createException
Source
core/lib/services/service.d.ts:149
_initException
_initException:
any
Inherited from
OAuthService._initException
Source
core/lib/services/service.d.ts:151
_initTime
_initTime:
number
Inherited from
OAuthService._initTime
Source
core/lib/services/service.d.ts:150
_name
protected
_name:string
Service name
Inherited from
OAuthService._name
Source
core/lib/services/service.d.ts:142
_webda
protected
_webda:Core
<CoreEvents
>
Webda Core object
Inherited from
OAuthService._webda
Source
core/lib/services/service.d.ts:138
authorized_uris
authorized_uris:
RegExpStringValidator
Inherited from
OAuthService.authorized_uris
Source
core/lib/services/oauth.d.ts:113
logger
protected
logger:Logger
Logger with class context
Inherited from
OAuthService.logger
Source
core/lib/services/service.d.ts:155
metrics
metrics:
Object
Type declaration
login
login:
Counter
<string
>
Inherited from
OAuthService.metrics
Source
core/lib/services/oauth.d.ts:110
parameters
protected
parameters:T
Hold the parameters for your service
It will be bring from the webda.config.json
Inherited from
OAuthService.parameters
Source
core/lib/services/service.d.ts:148
captureRejectionSymbol
static
readonly
captureRejectionSymbol: typeofcaptureRejectionSymbol
Inherited from
OAuthService.captureRejectionSymbol
Source
google-auth/node_modules/@types/node/events.d.ts:328
captureRejections
static
captureRejections:boolean
Sets or gets the default captureRejection value for all emitters.