openapi: 3.2.0
info:
version: '1.0'
title: Grdn grdn.handler Grdn.routes.impl.auth API
description: Eden Health Inc. primary backend API service.
servers:
- url: https://api.edenhealth.com/
tags:
- name: grdn.routes.impl.auth
description: Direct authentication handlers
paths:
/v2/auth:
get:
summary: auth-handler
description: "Tries to return a sendbird access token for a user. To do this,\n we figure out what a user's sendbird-user-id in postgres,\n and we ask sendbird for a token. If no active ones exist, we\n create one."
tags:
- grdn.routes.impl.auth
responses:
default:
description: Default success response.
content:
application/json:
schema:
type: object
properties:
sendbird-user-id:
type: string
format: uuid
sendbird-session-token:
type: string
required:
- sendbird-user-id
- sendbird-session-token
title: grdn.specs.auth/auth-response
/v2/launchdarkly-creds:
get:
summary: get-launchdarkly-creds
description: "Returns the one-way-hashed provider ID and the signed\n LD hash of that to use as js-secure-mode LD credentials\n without revealing any of our data/ids to LD."
tags:
- grdn.routes.impl.auth
responses:
default:
description: Default success response.
content:
application/json:
schema: {}