vikunja-api-0.24.6.0: Auto-generated vikunja-api API Client
Safe HaskellNone
LanguageHaskell2010

Vikunja.API.Auth

Description

 
Synopsis

Operations

Auth

getTokenOpenid

getTokenOpenid Source #

Arguments

:: (Consumes GetTokenOpenid MimeJSON, MimeRender MimeJSON OpenidCallback) 
=> OpenidCallback

"callback" - The openid callback

-> Provider

"provider" - The OpenID Connect provider key as returned by the /info endpoint

-> VikunjaRequest GetTokenOpenid MimeJSON AuthToken MimeJSON 
POST /auth/openid/{provider}/callback

Authenticate a user with OpenID Connect

After a redirect from the OpenID Connect provider to the frontend has been made with the authentication code, this endpoint can be used to obtain a jwt token for that user and thus log them in.

AuthMethod: AuthApiKeyJWTKeyAuth

data GetTokenOpenid Source #

Instances

Instances details
Produces GetTokenOpenid MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Auth

Consumes GetTokenOpenid MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Auth

HasBodyParam GetTokenOpenid OpenidCallback Source #

Body Param "callback" - The openid callback

Instance details

Defined in Vikunja.API.Auth

Methods

setBodyParam :: (Consumes GetTokenOpenid contentType, MimeRender contentType OpenidCallback) => VikunjaRequest GetTokenOpenid contentType res accept -> OpenidCallback -> VikunjaRequest GetTokenOpenid contentType res accept Source #

loginPost

loginPost Source #

POST /login

Login

Logs a user in. Returns a JWT-Token to authenticate further requests.

data LoginPost Source #

Instances

Instances details
Produces LoginPost MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Auth

Consumes LoginPost MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Auth

HasBodyParam LoginPost UserLogin Source #

Body Param "credentials" - The login credentials

Instance details

Defined in Vikunja.API.Auth

Methods

setBodyParam :: (Consumes LoginPost contentType, MimeRender contentType UserLogin) => VikunjaRequest LoginPost contentType res accept -> UserLogin -> VikunjaRequest LoginPost contentType res accept Source #

registerPost

registerPost Source #

POST /register

Register

Creates a new user account.

data RegisterPost Source #

Instances

Instances details
Produces RegisterPost MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Auth

Consumes RegisterPost MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Auth

HasBodyParam RegisterPost UserAPIUserPassword Source #

Body Param "credentials" - The user credentials

Instance details

Defined in Vikunja.API.Auth

Methods

setBodyParam :: (Consumes RegisterPost contentType, MimeRender contentType UserAPIUserPassword) => VikunjaRequest RegisterPost contentType res accept -> UserAPIUserPassword -> VikunjaRequest RegisterPost contentType res accept Source #