generateToken

Function

Parameters

Parameter Type Default Notes
url Required string
requestOptions Required ITokenRequestOptions

Available requestOptions

Property Type Notes
fetch Optional function(input: RequestInfo, init: RequestInit) : Promise<Response>
httpMethod Optional HTTPMethods
params Optional IGenerateTokenParams | IFetchTokenParams

Returns

Property Type Notes
expires number
ssl boolean
token string

Function defined in packages/arcgis-rest-auth/src/generate-token.ts:17