IPWorks Cloud 2020 Java Edition

Questions / Feedback?

Authorization Property

OAuth 2.0 Authorization Token.

Syntax

public String getAuthorization();
public void setAuthorization(String authorization);

Default Value

""

Remarks

This class supports authentication via OAuth 2.0. First, perform OAuth authentication using the OAuth class or a separate process. Once complete you should have an authorization string which looks like:

Bearer ya29.AHES6ZSZEJzATdZYjeihDn5W-VrXSsxEZu5p0pclxGdKKQ
Assign this value to the Authorization property before attempting any operations. Consult the documentation for the service for more information about supported scope values and more details on OAuth authentication.

Note: if both this property and AccessKey are populated, this property takes precedence, and the class will use OAuth authentication instead of shared key authentication. The Account property must be set in either case.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Java Edition - Version 20.0 [Build 8265]