Метод | Описание | |
---|---|---|
AuthenticationService ( string url = "https://www.arcgis.com/sharing/oauth2/token" ) : System |
Creates a new instance of the AuthenticationService.
|
|
GetToken ( string clientId, string clientSecret, int expirationInMinutes = null ) : |
Gets a token.
|
public AuthenticationService ( string url = "https://www.arcgis.com/sharing/oauth2/token" ) : System | ||
url | string | |
Результат | System |
public GetToken ( string clientId, string clientSecret, int expirationInMinutes = null ) : |
||
clientId | string | OAuth ClientId |
clientSecret | string | OAuth ClientSecret |
expirationInMinutes | int | Optional. Specify how many minutes until the token expires. |
Результат |