Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Credential

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

expires

expires: number

Token expiration time specified as number of milliseconds since 1 January 1970 00:00:00 UTC.

Read more...

initialized

initialized: boolean

isAdmin

isAdmin: boolean

Indicates that this credential was created to access the ArcGIS REST Admin service.

Read more...

oAuthState

oAuthState: any

The Identity Manager's setOAuthRedirectionHandler returns an object that contains a state property.

Read more...

server

server: string

The server url.

Read more...

ssl

ssl: boolean

Indicates whether the resources accessed using this credential should be fetched over HTTPS protocol.

Read more...

token

token: string

Token generated by the token service using the specified userId and password.

Read more...

userId

userId: string

User associated with the Credential object.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • _set<T>(propertyName: string, value: T): Credential
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Credential

destroy

  • destroy(): void
  • Destroys the credential.

    Read more...

    Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

on

refreshToken

  • refreshToken(): void
  • Generates a new token and updates the Credential's token property with the newly acquired token.

    Read more...

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Credential

  • Parameters

    Returns Credential

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc