updateAppRedirectUris

Function

Update the redirect uri's that are valid for an existing app that's registered for oAuth.

  • updateAppRedirectUris(clientId: string, redirectUris: string[], requestOptions: IHubRequestOptions) : Promise<any>

Parameters

Parameter Type Default Notes
clientId Required string

Client Id of the existing app to be updated

redirectUris Required string[]

Array of valid redirect uris for the app

requestOptions Required IHubRequestOptions

Available requestOptions

Property Type Notes
authentication Optional ArcGISIdentityManager
fetch Optional function(input: RequestInfo, init: RequestInit) : Promise<Response>

The implementation of fetch to use. Defaults to a global fetch.

hubApiUrl Optional string
isPortal Optional boolean
portalSelf Optional IHubRequestOptionsPortalSelf

Returns

Promise<any>

Function defined in sites/src/update-app-redirect-uris.ts:12