getServiceTokenBearer()
Static operation.
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.
You can use this token to authenticate the caller when calling platform services. It is basically a combination of getServiceToken() and a concat() Operation.
The returned token is service related, not user related.
Parameters
Name  | Type  | Direction  | Description  | 
|---|---|---|---|
   | String  | return  | Returns a valid token. The token is valid for a specific period of time.  | 
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.