krapio
Library referenceTypes

AppCredentials

type AppCredentials = {
  clientId: string;
  clientSecret?: string;
  redirectUri?: string;
};

the credentials of an app registered under Developer > Applications

Properties

PropertyTypeDescription
clientIdstringkapp_..., public
clientSecret?stringkas_..., confidential clients only; leave it out for a public client, which sends none
redirectUri?stringone of the app's registered redirect uris, character for character; the default of authorizeUrl and exchangeCode

On this page