create static method

Future<OAuthUserCredential> create({
  1. required OAuthUserConfiguration configuration,
})

Creates an OAuthUserCredential with information needed to access an ArcGIS resource. This initiates the OAuth login process by presenting the OAuth login page.

Parameters:

  • configuration — The OAuth configuration details of an application that can sign into an ArcGIS Online or ArcGIS Enterprise portal using OAuth.

Return Value: Returns an OAuthUserCredential.