Pular para o conteúdo principal
Version: 3.21

Authenticators

Authenticators are a secure way to broker trust between different applications for the purpose of exchanging secrets and to manage authorizations and related functions. senhasegura provides integration with the most used authenticators as described in the following section.

OAuth 1.0 Authenticator

OAuth 1.0 is an authentication method that consists in using four tokens to identify and authorize an application access.

caution

Use always modern authentication types that guarantee data integrity. The possibility of authenticating whether through OAuth 1.0 exists due to the impossibility of updating legacy applications. We discourage it use.

Configuring OAuth 1.0 Authenticator

To use this authentication method, follow these steps:

  1. Go to DSM ➔Application ➔Application;

  2. Edit or create a New application and select OAuth 1.0 authentication method;

Application configuration form - OAuth 1.0

When a resource needs to use a secret, it can use its OAuth 1.0 tokens to request the information from senhasegura .

If the data used is valid, senhasegura will leave the application interacting with senhasegura DSM secrets and authorizations.

Checkout our WebService A2A manual for a complete description of senhasegura DSM REST Methods.

OAuth 2.0 Authenticator

OAuth 2.0 is an authentication method that consists in using a client ID and a client secret to request a time limited token and use it to access senhasegura resources.

Configuring OAuth 2.0 Authenticator

To use this authentication method, follow these steps:

  1. Go to DSM ➔Application ➔Application;

  2. Edit or create a New application and select OAuth 2.0 authentication method;

Application configuration form - OAuth 2.0

When a resource needs to use a secret, it can use its OAuth 2.0 clients to request an time limited token and use it to request the information from senhasegura .

If the token used is valid, senhasegura will leave the application interacting with senhasegura DSM secrets and authorizations.

Checkout our WebService A2A manual for a complete description of senhasegura DSM REST Methods.