diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2018-08-20 17:18:27 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2018-08-20 17:18:27 +0100 |
commit | f906c9ba422eb720514721b559c01f840ca34a0c (patch) | |
tree | c7a8b0d4df7159b9b4ed959508b668c8f7e1c79d /server/auth/testprovider | |
parent | 87ae7c73ebe05f777e23087b1550d2cab42746ff (diff) |
Remove authprovider.Session
Diffstat (limited to 'server/auth/testprovider')
-rw-r--r-- | server/auth/testprovider/testprovider.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/server/auth/testprovider/testprovider.go b/server/auth/testprovider/testprovider.go index e30b04a..f785081 100644 --- a/server/auth/testprovider/testprovider.go +++ b/server/auth/testprovider/testprovider.go @@ -38,10 +38,8 @@ func (c *Config) Revoke(token *oauth2.Token) error { } // StartSession retrieves an authentication endpoint. -func (c *Config) StartSession(state string) *auth.Session { - return &auth.Session{ - AuthURL: "https://www.example.com/auth", - } +func (c *Config) StartSession(state string) string { + return "https://www.example.com/auth" } // Exchange authorizes the session and returns an access token. |