Class FacebookAuthSettings

Settings for 'facebook' provider.

class FacebookAuthSettings
  : OAuthSettings ;

OAuthSettings specialized for Facebook. Just for convenience.

Constructors

NameDescription
this (config) See OAuthSettings constructor for common documentation.

Fields

NameTypeDescription
clientId string
clientSecret string
provider OAuthProvider
redirectUri string

Methods

NameDescription
clientSession (scopes) Obtain a new session using client credentials.
userAuthUri (httpSession, extraParams, scopes) User login helper method.
userSession (httpSession, state, authorizationCode) User login helper method, complementary to userAuthUri.
userSession (username, password, scopes) Start a session on behalf of the resource owner, using username and password for authentication.