Skip to content

ProvidersOperations

The providers.* operations.

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.

Parameter Type
owner string
options? CallOptions

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.

Parameter Type
owner string
input ProviderInput
options? CallOptions

Promise<Provider>


remove(
owner,
name,
options?
): Promise<Provider>;

Remove an OAuth app.

Removes one of the owner's own. Accounts connected with it sign in again.

Parameter Type
owner string
name string
options? CallOptions

Promise<Provider>