Optional
_categoryCategoria del plugin
Private
configProtected
coreRiferimento all'istanza di ShogunCore
Descrizione opzionale del plugin
Nome univoco del plugin - deve essere implementato dalle sottoclassi
Private
oauthVersione del plugin - deve essere implementata dalle sottoclassi
Private
_loginPrivate helper to login or sign up a user
Optional
password: stringProtected
assertVerifica che il plugin sia stato inizializzato prima di usare il core
L'istanza di ShogunCore non null
Private
assertOAuthComplete OAuth flow
Optional
state: stringConfigure the OAuth plugin with provider settings
Configuration options for OAuth
Distrugge il plugin e libera le risorse
Emits an event with arguments
Optional
data: unknownGenerate credentials from OAuth user info
Get available OAuth providers
Get cached user info for a user
Handle OAuth callback (for frontend integration) This method would be called when the OAuth provider redirects back
Optional
state: stringAlias for handleOAuthCallback for backward compatibility
Optional
state: stringInizializza il plugin con un'istanza di ShogunCore
Istanza di ShogunCore
Initiate OAuth flow with a provider
Check if OAuth is supported
Login with OAuth
OAuth provider to use
Authentication result
Removes an event listener
Registers an event listener
Registers a one-time event listener
Removes all listeners for an event or all events
Optional
event: EventTypeSign up with OAuth
OAuth provider to use
Registration result
OAuth Plugin for ShogunCore Provides authentication with external OAuth providers