Methods
Mashery provides the following methods to support the OAuth 2.0 functionality:
- fetchApplication - Verifies that client has a valid identifier and fetches the application data (e.g., name) for a client requesting access to user resource.
- createAuthorizationCode - Creates authorization code that can be subsequently used to obtain an access token. Used in Authorization Code flow.
- createAccessToken - Creates access token for the flow indicated by response and grant type. Individual parameters are validated based on the indicated flow.
- fetchAccessToken - Fetches the specified access token and data associated with the token or returns that it is invalid.
- fetchUserApplications - Fetches the applications with access tokens for the given user.
- revokeAccessToken - Revokes the access token.
- revokeUserApplication - Revokes all tokens for the application for the specified user.
- updateAccessToken - Updates access token based on individual parameters specified.
Docs Navigation
- API Documentation Portal
- IO Docs Definition
- Mashery API Documentation
- Mashery 3.0 API Guide
- Mashery 2.0 API Guide
- OAuth Supporting Methods
- Examples
- JSON RPC
- Authentication
- API Objects
- Fetching Objects
- Query Language
- Creating Objects
- Updating Objects
- Validating Fields
- Deleting Objects
- Applications
- General Object Methods
- Members
- Packages
- Plans
- Package Keys
- Keys
- Developer Classes
- Services
- Roles
- Mashery 2.0 Reporting API Guide
- Event Trigger API
- Differences between Roles and Portal Access Groups
- Managing a Portal Access Group Using Mashery V2 or V3 API
- Mashery Reporting Event Post API Guide
- Tips and Tricks
- Your Portal
- API Traffic Manager
- I/O Docs WSDL requirements