ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
CA Mobile API Gateway: Obtaining OAuth Access Tokens
Article ID: 77677
CA Rapid App SecurityCA API GatewayCA Mobile - APP ServicesCA Mobile API Gateway
Which mobile SDK class/classes contains the method for obtaining the OAuth access token?
Release: Component: APIMBL
Token issuance is Mobile SDK's internal process and was never meant to be exposed to the application developer.
The Internal process is that Mobile SDK takes extended MASAuthCredentials class based on grant_type, and performs registration and authentication as per the grant_type. The whole purpose of MASAuthCredentials is to provide flexibility to developers to override parameters, and headers of these registration and authentication requests.
When the extended MASAuthCredentials was passed into Mobile SDK, the Mobile SDK makes the request for registration and authentication with the given parameters and headers from the extended class.