UNPKG

sf-jwt-token

Version:

Implementation of Salesforce OAuth 2.0 JWT bearer token flow.

14 lines (13 loc) 266 B
export interface TokenOptions { iss: string; sub: string; aud: string; privateKey: string; } export interface TokenOutput { access_token: string; scope: string; instance_url: string; id: string; token_type: string; }