AuthenticationService

Authenticate

Initiates an authentication request and returns a token along with the token expiration time for an authenticated user.

get/v1/auth/{authentication_source}

Request

  • Base URL
    https://api.endorlabs.com
  • URL
    https://api.endorlabs.com/v1/auth/{authentication_source}
  • Auth
    none declared

Path parameters

authentication_sourcestring required

Specifies a user's authentication method, such as "GitHub".

Query parameters

keystring

The API key used for system authentication.

Key is required only if the authentication source is "api-key".

secretstring

The API secret used for system authentication.

Secret is required only if the authentication source is "api-key".

Response

A successful response.

authentication_sourcestring
expiration_timestring date-time
tokenstring

Changes

No recorded changes to this operation across all 2 revisions of this API.