lib/Janrain/Api/Capture/Access.php
public function getAuthorizationCode(array $params)
	{
		if (isset($params['transaction_state'])) {
			$params['transaction_state'] = json_encode($params['transaction_state']);
		}

		return $this->post('access/getAuthorizationCode', $params);
	}
public function getAuthorizationCode(array $params)
	{
		if (isset($params['transaction_state'])) {
			$params['transaction_state'] = json_encode($params['transaction_state']);
		}

		return $this->post('access/getAuthorizationCode', $params);
	}
public function getAuthorizationCode ( array $ params ) { if ( isset ( $ params [ 'transaction_state' ] ) ) { $ params [ 'transaction_state' ] = json_encode ( $ params [ 'transaction_state' ] ) ; } return $ this -> post ( 'access/getAuthorizationCode' , $ params ) ; }
Get an authorization code that can be exchanged for an `access_token` and
a `refresh_token`.

@param array $params
@link  http://developers.janrain.com/documentation/api-methods/capture/access-codes-and-tokens/getauthorizationcode/
Get an authorization code that can be exchanged for an access_token and a refresh_token .