-
Notifications
You must be signed in to change notification settings - Fork 933
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lxd/auth/oidc: Refactors Auth method to use new methods.
The Auth method now calls an appropriate verification method depending on how the OIDC tokens are set in the request. For Bearer tokens we expect an access token, for cookies we expect ID and refresh tokens. Signed-off-by: Mark Laing <[email protected]>
- Loading branch information
1 parent
7fc5bda
commit b74fd3a
Showing
1 changed file
with
23 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters