From 002375a1dd6e915b7ae0acef7c2272d19a0dbf23 Mon Sep 17 00:00:00 2001 From: Burcu Dogan Date: Mon, 26 May 2014 17:29:56 +0200 Subject: [PATCH] Removing unnecessary option getters. --- jwt.go | 5 ----- oauth2.go | 5 ----- 2 files changed, 10 deletions(-) diff --git a/jwt.go b/jwt.go index 0af6946..284df3a 100644 --- a/jwt.go +++ b/jwt.go @@ -59,11 +59,6 @@ type JWTConfig struct { cache Cache } -// Options returns JWT options. -func (c *JWTConfig) Options() *JWTOptions { - return c.opts -} - // NewTransport creates a transport that is authorize with the // parent JWT configuration. func (c *JWTConfig) NewTransport() Transport { diff --git a/oauth2.go b/oauth2.go index 50b1517..606816f 100644 --- a/oauth2.go +++ b/oauth2.go @@ -134,11 +134,6 @@ type Config struct { cache Cache } -// Options returns options. -func (c *Config) Options() *Options { - return c.opts -} - // AuthCodeURL returns a URL to OAuth 2.0 provider's consent page // that asks for permissions for the required scopes explicitly. func (c *Config) AuthCodeURL(state string) (authURL string, err error) {