1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

refactor(oauth): move build url logic to service

This commit is contained in:
Chaim Lev Ari 2019-01-18 10:24:42 +02:00
parent c5c06b307a
commit 60040e90d0
3 changed files with 20 additions and 17 deletions

View file

@ -766,6 +766,7 @@ type (
OAuthService interface {
GetAccessToken(code string, settings *OAuthSettings) (string, error)
GetUsername(token string, settings *OAuthSettings) (string, error)
BuildLoginURL(oauthSettings OAuthSettings) string
}
// SwarmStackManager represents a service to manage Swarm stacks