Get OAuth Credentials

Description

 

After you have successfully received an OAuth Token with the Authenticate OAuth Behaviour, use this behaviour to get the access token without having to authenticate again.

 

Properties

Triggers Immediately

Identifier The identifier used in the corresponding Authenticate OAuth Behaviour.

Outputs

Token Type

Outputs the type of token being accessed (this is known as 'the bearer').

Access Token

Outputs the authorization token to gain access from a server.

Refresh Token

Outputs a new access token for when the previous one expires.

Error

Outputs any errors that occur during authentication.

 

 

Examples 

If you have multiple HTTP requests and need to authenticate each one of them, use the Authenticate OAuth Behaviour for the first request, then Get OAuth Credentials for the rest of them. Another example could be keeping a user logged in. Simply save the identifier to file, and load the identifier when starting the project.

 

Related

Authenticate OAuth

Connect to Socket

Emit to Socket

Get Socket Status

HTTP Request

Open URL

Remove OAuth Credentials

Socket Event

Socket.io Client

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.