- Preparing search index...
- The search index is not available
MailSlurp JS
Accessors
accessToken
- get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>)
-
Returns ((name?: string, scopes?: string[]) => string | Promise<string>)
-
- (name?: string, scopes?: string[]): string | Promise<string>
-
Parameters
-
Optional
name: string
-
Optional
scopes: string[]
Returns string | Promise<string>
apiKey
- get apiKey(): ((name: string) => string)
-
Returns ((name: string) => string)
-
- (name: string): string
-
Returns string
basePath
- get basePath(): string
-
Returns string
credentials
- get credentials(): RequestCredentials
-
Returns RequestCredentials
fetchApi
- get fetchApi(): ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>)
-
Returns ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>)
-
- (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
-
Parameters
-
input: RequestInfo | URL
-
Optional
init: RequestInit
password
- get password(): string
-
Returns string
queryParamsStringify
- get queryParamsStringify(): ((params: HTTPQuery) => string)
-
Returns ((params: HTTPQuery) => string)
username
- get username(): string
-
Returns string