Logo: Relish

  1. Sign in

Project: Apiv3

Authentication :: Token

  • @skip_auth

TODO: Document Purpose and Usage

Scenarios
Fetching an endpoint with a valid Token.
Given
I have a valid Token
When
I GET to /
Then
I should get a 200 OK status code
Fetching an endpoint with an invalid Token.
Given
I have an invalid Token
When
I GET to /
Then
I should get a 401 UNAUTHORIZED status code
Fetching an endpoint with an expired Token.
Given
I have an expired Token
When
I GET to /
Then
I should get a 401 UNAUTHORIZED status code
Fetching an endpoint with a token in the parameters.

This is an example only; the root endpoint does not allow authentication via parameters. Only certain command templates do, such as member photo uploading.

Given
I have a valid Token
When
I set the :teamsnap_access_token
And
I GET to /
Then
I should get a 200 OK status code

Last published almost 7 years ago by semmons99.