getAuthorizationOptions()
Static operation.
This operation returns REST RequestOptions containing an authorization header with a valid bearer token.
You can use this to authenticate the caller when calling platform services. It is basically a combination of getServiceTokenBearer() and a mapping diagram that sets the appropriate headers.
The provided authorization token is service related, not user related.
Parameters
Name  | Type  | Direction  | Description  | 
|---|---|---|---|
   | RequestOptions  | return  | Returns REST request options containing an authorization header with a valid bearer token.  | 
Related Content
Related Pages:
getServiceToken()
This operation returns a new valid authorization token for the current service. it is the same as getServiceAccountToken() but implemented as a static operation so that you do not need to create an instance of AuthService first.getServiceTokenBearer()
This operation returns a valid authorization token for the current service. The token is ready to use for authentication headers as it already has the "Bearer " part at the beginning.