From f906c9ba422eb720514721b559c01f840ca34a0c Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Mon, 20 Aug 2018 17:18:27 +0100 Subject: Remove authprovider.Session --- server/auth/testprovider/testprovider.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'server/auth/testprovider') 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. -- cgit v1.2.3