2021-05-03 02:46:32 -10:00
|
|
|
package pluginproxy
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
type accessTokenProvider interface {
|
2021-06-11 17:02:24 +02:00
|
|
|
GetAccessToken() (string, error)
|
2021-05-03 02:46:32 -10:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
// timeNow makes it possible to test usage of time
|
|
|
|
|
timeNow = time.Now
|
|
|
|
|
)
|