add method

void add({
  1. required ArcGISCredential credential,
})

Adds the specified credential to the ArcGISCredentialStore. The credential's server context is used to determine what services the credential can be shared with.

If a credential for the same server context is already in the store, then it will be replaced.

Parameters: