SYMBOL INDEX (69 symbols across 8 files) FILE: src/client.ts type ClientCredentialsParams (line 18) | type ClientCredentialsParams = { type PasswordParams (line 30) | type PasswordParams = { type RefreshParams (line 48) | type RefreshParams = { type ClientSettings (line 60) | interface ClientSettings { type OAuth2Endpoint (line 160) | type OAuth2Endpoint = 'tokenEndpoint' | 'authorizationEndpoint' | 'disco... class OAuth2Client (line 162) | class OAuth2Client { method constructor (line 166) | constructor(clientSettings: ClientSettings) { method refreshToken (line 178) | async refreshToken(token: OAuth2Token, params?: RefreshParams): Promis... method clientCredentials (line 208) | async clientCredentials(params?: ClientCredentialsParams): Promise { method authorizationCode (line 248) | get authorizationCode(): OAuth2AuthorizationCodeClient { method introspect (line 264) | async introspect(token: OAuth2Token): Promise { method revoke (line 281) | async revoke(token: OAuth2Token, tokenTypeHint: OAuth2TokenTypeHint = ... method getEndpoint (line 300) | async getEndpoint(endpoint: OAuth2Endpoint): Promise { method discover (line 337) | private discover(): Promise { method doDiscover (line 350) | private async doDiscover(): Promise { method request (line 402) | async request(endpoint: OAuth2Endpoint, body: Record): Pr... method tokenResponseToOAuth2Token (line 489) | async tokenResponseToOAuth2Token(resp: Promise): Promis... function resolve (line 528) | function resolve(uri: string, base?: string): string { function generateQueryString (line 540) | function generateQueryString(params: Record { method getTokenFromCodeRedirect (line 144) | async getTokenFromCodeRedirect(url: string|URL, params: Omit { function generateCodeVerifier (line 214) | async function generateCodeVerifier(): Promise { function getCodeChallenge (line 223) | async function getCodeChallenge(codeVerifier: string): Promise<['plain' ... function getWebCrypto (line 229) | async function getWebCrypto(): Promise { function stringToBuffer (line 251) | function stringToBuffer(input: string): ArrayBuffer { function base64Url (line 261) | function base64Url(buf: ArrayBuffer) { FILE: src/error.ts class OAuth2Error (line 15) | class OAuth2Error extends Error { method constructor (line 19) | constructor(message: OAuth2ErrorCode|string, oauth2Code: OAuth2ErrorCo... class OAuth2HttpError (line 42) | class OAuth2HttpError extends OAuth2Error { method constructor (line 49) | constructor(message: string, oauth2Code: OAuth2ErrorCode, response: Re... FILE: src/fetch-wrapper.ts type FetchMiddleware (line 4) | type FetchMiddleware = (request: Request, next: (request: Request) => Pr... type OAuth2FetchOptions (line 6) | type OAuth2FetchOptions = { class OAuth2Fetch (line 52) | class OAuth2Fetch { method constructor (line 70) | constructor(options: OAuth2FetchOptions) { method fetch (line 93) | async fetch(input: RequestInfo, init?: RequestInit): Promise { method mw (line 113) | mw(): FetchMiddleware { method getToken (line 148) | async getToken(): Promise { method getAccessToken (line 167) | async getAccessToken(): Promise { method refreshToken (line 188) | async refreshToken(): Promise { method scheduleRefresh (line 246) | private scheduleRefresh() { FILE: src/messages.ts type RefreshRequest (line 4) | type RefreshRequest = { type ClientCredentialsRequest (line 22) | type ClientCredentialsRequest = { type PasswordRequest (line 39) | type PasswordRequest = { type AuthorizationCodeRequest (line 53) | type AuthorizationCodeRequest = { type TokenResponse (line 70) | type TokenResponse = { type OAuth2ResponseType (line 103) | type OAuth2ResponseType = 'code' | 'token'; type OAuth2ResponseMode (line 104) | type OAuth2ResponseMode = 'query' | 'fragment'; type OAuth2GrantType (line 105) | type OAuth2GrantType = 'authorization_code' | 'implicit' | 'password' | ... type OAuth2AuthMethod (line 106) | type OAuth2AuthMethod = 'none' | 'client_secret_basic' | 'client_secret_... type OAuth2CodeChallengeMethod (line 107) | type OAuth2CodeChallengeMethod = 'S256' | 'plain'; type OAuth2TokenTypeHint (line 109) | type OAuth2TokenTypeHint = 'access_token' | 'refresh_token'; type ServerMetadataResponse (line 116) | type ServerMetadataResponse = { type IntrospectionRequest (line 239) | type IntrospectionRequest = { type IntrospectionResponse (line 245) | type IntrospectionResponse = { type RevocationRequest (line 315) | type RevocationRequest = { type OAuth2ErrorCode (line 320) | type OAuth2ErrorCode = FILE: src/token.ts type OAuth2Token (line 4) | type OAuth2Token = { FILE: test/client.ts method json (line 84) | json() { FILE: test/test-server.ts type TestServer (line 5) | type TestServer = { function testServer (line 16) | function testServer() {