forked from Mirrors/oauth2
Removing unnecessary option getters.
This commit is contained in:
parent
4b558944a3
commit
002375a1dd
5
jwt.go
5
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 {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue