UNPKG

@awhere/api

Version:

The awesome aWhere API for JavaScript.

27 lines (26 loc) 1.09 kB
import { IOAuthGrantCode } from '@awhere/interfaces'; import PrototypeBase from '../PrototypeBase'; declare class OAuthGrantCode extends PrototypeBase implements IOAuthGrantCode { static generateId(): string; static generateAuthorizationCode(): string; private _code; get code(): string; set code(value: string); private _client; get client(): IOAuthGrantCode['client']; set client(value: IOAuthGrantCode['client']); private _user; get user(): IOAuthGrantCode['user']; set user(value: IOAuthGrantCode['user']); private _codeChallenge?; get codeChallenge(): IOAuthGrantCode['codeChallenge']; set codeChallenge(v: IOAuthGrantCode['codeChallenge']); private _codeChallengeMethod?; get codeChallengeMethod(): IOAuthGrantCode['codeChallengeMethod']; set codeChallengeMethod(v: IOAuthGrantCode['codeChallengeMethod']); private _expiresAt?; get expiresAt(): IOAuthGrantCode['expiresAt']; set expiresAt(value: IOAuthGrantCode['expiresAt']); constructor(props?: IOAuthGrantCode); } export default OAuthGrantCode;