Library referenceTypes
AppCredentials
type AppCredentials = {
clientId: string;
clientSecret?: string;
redirectUri?: string;
};the credentials of an app registered under Developer > Applications
Properties
| Property | Type | Description |
|---|---|---|
clientId | string | kapp_..., public |
clientSecret? | string | kas_..., confidential clients only; leave it out for a public client, which sends none |
redirectUri? | string | one of the app's registered redirect uris, character for character; the default of authorizeUrl and exchangeCode |