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:
parent
c5c06b307a
commit
60040e90d0
3 changed files with 20 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue