You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,18 @@ The API Reference Guide provides examples of what information is needed for a pa
46
46
## MetaKey Support
47
47
Meta Key is a key generated by an entity that can be used to authenticate on behalf of other entities provided that the entity which holds key is a parent entity or associated as a partner.
48
48
49
+
## OAuth Support
50
+
The CyberSource OAuth2.0 Authorization Server (or API Auth Service) will issue access tokens (based on merchant user credentials) to CyberSource or third-party Applications. These applications can access CyberSource API's on the merchant's behalf, using the access tokens.
51
+
During application registration, third-party application developers are issued a client_id and optionally a client_secret (if they can be considered a confidential client, for example a web application). Requesting an access token is fairly straightforward: Use the CyberSource token URL and include a set of form-urlencoded parameters.
52
+
For more detailed information on OAuth, refer to the link - https://developer.cybersource.com/api/developer-guides/OAuth/cybs_extend_intro.html
53
+
54
+
Set the run environment to OAuth enabled URLs. OAuth only works in these run environments.
### Switching between the sandbox environment and the production environment
51
63
Cybersource maintains a complete sandbox environment for testing and development purposes. This sandbox environment is an exact duplicate of our production environment with the transaction authorization and settlement process simulated. By default, this SDK is configured to communicate with the sandbox environment. To switch to the production environment, set the `runEnvironment` property in the SDK Configuration. See our sample at https://github.com/CyberSource/cybersource-rest-samples-java/blob/master/src/main/java/Data/Configuration.java.
0 commit comments