mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 00:09:40 +02:00
refactor(ouath): use oauth2 library to get token
This commit is contained in:
parent
60040e90d0
commit
46e8f10aea
3 changed files with 18 additions and 93 deletions
|
@ -766,7 +766,7 @@ type (
|
|||
OAuthService interface {
|
||||
GetAccessToken(code string, settings *OAuthSettings) (string, error)
|
||||
GetUsername(token string, settings *OAuthSettings) (string, error)
|
||||
BuildLoginURL(oauthSettings OAuthSettings) string
|
||||
BuildLoginURL(oauthSettings *OAuthSettings) string
|
||||
}
|
||||
|
||||
// SwarmStackManager represents a service to manage Swarm stacks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue