grafana/pkg/services/auth
Agnès Toulet 2a70c73025
Auth: add expired token error and update CreateToken function (#30203)
* Auth: add error for expired token

* Auth: save token error into context data

* Auth: send full user and req context to CreateToken

* Auth: add token ID in context

* add TokenExpiredError struct

* update auth tests

* remove most of the changes to CreateToken func

* clean up

* Login: add requestURI in CreateToken ctx

* update RequestURIKey comment
2021-01-19 17:55:53 +01:00
..
auth_token_test.go Auth: add expired token error and update CreateToken function (#30203) 2021-01-19 17:55:53 +01:00
auth_token.go Auth: add expired token error and update CreateToken function (#30203) 2021-01-19 17:55:53 +01:00
model.go pkg/services: Check errors (#19712) 2019-10-22 14:08:18 +02:00
testing.go Auth: add expired token error and update CreateToken function (#30203) 2021-01-19 17:55:53 +01:00
token_cleanup_test.go Auth: Replace maximum inactive/lifetime settings of days to duration (#27150) 2020-09-14 15:57:38 +02:00
token_cleanup.go Chore: Add CloudWatch HTTP API tests (#29691) 2021-01-07 11:36:13 +01:00