nanobus.transport.http.oauth2/v1
Description
SecuritySource code
Options
loginPath
string
callbackPath
string
clientId
string
clientSecret
string
endpoint
callbackUrl
string
redirectUrl
string
cookieDomain
string
scopes
string[]
handler
Handler
type Endpoint
authUrl
string
tokenUrl
string
userInfoUrl
string
authStyle
AuthStyle
AuthStyle optionally specifies how the endpoint wants the client ID & client secret sent.
enum AuthStyle
auto-detect
AuthStyleAutoDetect means to auto-detect which authentication style the provider wants by trying both ways and caching the successful way for the future.
inparams
AuthStyleInParams sends the "client_id" and "client_secret" in the POST body as application/x-www-form-urlencoded parameters.
inheader
AuthStyleInHeader sends the client_id and client_password using HTTP Basic Authorization. This is an optional style described in the OAuth2 RFC 6749 section 2.3.1.