ProvidersOperations
The providers.* operations.
Methods
Section titled “Methods”list()
Section titled “list()”list(owner, options?): Promise<Provider[]>;List the OAuth apps an owner's people sign in with.
The OAuth apps the owner keeps. The deployment's include those it declares.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
options? |
CallOptions |
Returns
Section titled “Returns”Promise<Provider[]>
add( owner, input, options?): Promise<Provider>;Add an OAuth app for an owner's people.
Keeps an OAuth app for the owner. A sign-in names it by its owner and name; one by another owner is used only where your authorizer allows provider.use. One of the owner's own by the same name is a conflict. Its client secret is named, and read from the owner's vault, sealed for client_secret, each time it's needed. Each URL must pass the deployment's egress check.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
input |
ProviderInput |
options? |
CallOptions |
Returns
Section titled “Returns”Promise<Provider>
remove()
Section titled “remove()”remove( owner, name, options?): Promise<Provider>;Remove an OAuth app.
Removes one of the owner's own. Accounts connected with it sign in again.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
name |
string |
options? |
CallOptions |
Returns
Section titled “Returns”Promise<Provider>