Class OAuthProvider
Represents an OAuth 2.0 authentication server.
class OAuthProvider
;
Constructors
Name | Description |
---|---|
this
(authUri, tokenUri, options)
|
Constructor |
Fields
Name | Type | Description |
---|---|---|
authUri
|
string | |
tokenUri
|
string |
Methods
Name | Description |
---|---|
disableAutoRegister
()
|
Disables automatic registration of authentication servers from JSON config. |
forName
(name)
|
Get provider by name |
register
(name, srv)
|
Register a provider |
Enums
Name | Description |
---|---|
Option
|
Option flags for an OAuth provider. |