Removing unnecessary option getters.

This commit is contained in:
Burcu Dogan 2014-05-26 17:29:56 +02:00
parent 4b558944a3
commit 002375a1dd
2 changed files with 0 additions and 10 deletions

5
jwt.go
View File

@ -59,11 +59,6 @@ type JWTConfig struct {
cache Cache cache Cache
} }
// Options returns JWT options.
func (c *JWTConfig) Options() *JWTOptions {
return c.opts
}
// NewTransport creates a transport that is authorize with the // NewTransport creates a transport that is authorize with the
// parent JWT configuration. // parent JWT configuration.
func (c *JWTConfig) NewTransport() Transport { func (c *JWTConfig) NewTransport() Transport {

View File

@ -134,11 +134,6 @@ type Config struct {
cache Cache 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 // AuthCodeURL returns a URL to OAuth 2.0 provider's consent page
// that asks for permissions for the required scopes explicitly. // that asks for permissions for the required scopes explicitly.
func (c *Config) AuthCodeURL(state string) (authURL string, err error) { func (c *Config) AuthCodeURL(state string) (authURL string, err error) {