02. Keyword - setBearerToken
Last updated
Last updated
In earlier versions of Avo Assure, we supported the authorization type as base auth and OAuth2.0. The Avo Assure team developed the setBearerToken keyword to support another authorization type.
Developing the setBearerToken keyword within the Avo Assure framework aims to enhance API security by supporting bearer token authorization. This additional authorization type aims to enable users to securely authenticate APIs through a token mechanism, expanding the versatility and security options beyond base auth and OAuth 2.0. This method ensures streamlined, secure API calls while maintaining compatibility with a broader range of authentication protocols.
Description: A bearer token is a type of access token used in API authentication. It is typically included in the authorization header of HTTP requests to identify and authenticate the user or application making the request.
Keyword
Input Syntax
Output Syntax
Supported Input Format
setBearerToken
Token
N/A
Text
Static Values
Dynamic Variables
Find the snippet of the keyword below:
To set a bearer token in Avo Assure for authentication, follow these steps:
Set endpoint URL: Provide the desired endpoint URL in the input field.
Set the method: Specify the HTTP method (e.g., GET, POST) in the input field.
Set bearer token: Enter the token into the input field before executing the request.
If the user upgrades to the latest version of Avo Assure to 24.0.1, this feature will be available automatically. If you are not part of this particular version, 24.0.1, contact Avoproductsupport@Avoautomation.com to get this version.