Documentation ¶
Index ¶
- Variables
- func AuthInfoWriter(s Session, outerValues [][]string, key string) runtime.ClientAuthInfoWriter
- func Basic(username, password string) runtime.ClientAuthInfoWriter
- func Bearer(token string) runtime.ClientAuthInfoWriter
- func ClientTokenRefresher(s Session)
- func ConfigRepo(s Session) runtime.ClientAuthInfoWriter
- func Cookie(s Session, key string) runtime.ClientAuthInfoWriter
- func CookieValue(key, value string) runtime.ClientAuthInfoWriter
- func Error(err error) runtime.ClientAuthInfoWriter
- func RefreshTokenScheduler(session Session, loginType string)
- func TokenRepo(s Session) runtime.ClientAuthInfoWriter
- func UserTokenRefresher(s Session)
- type OAuth20RefreshService
- type RefreshTokenImpl
- type Session
Constants ¶
This section is empty.
Variables ¶
View Source
var Once utils.Once
Functions ¶
func AuthInfoWriter ¶
func AuthInfoWriter(s Session, outerValues [][]string, key string) runtime.ClientAuthInfoWriter
AuthInfoWriter called by the existing security from the wrapper
func Basic ¶
func Basic(username, password string) runtime.ClientAuthInfoWriter
func Bearer ¶
func Bearer(token string) runtime.ClientAuthInfoWriter
func ClientTokenRefresher ¶ added in v0.23.0
func ClientTokenRefresher(s Session)
func ConfigRepo ¶
func ConfigRepo(s Session) runtime.ClientAuthInfoWriter
func CookieValue ¶
func CookieValue(key, value string) runtime.ClientAuthInfoWriter
func Error ¶
func Error(err error) runtime.ClientAuthInfoWriter
func RefreshTokenScheduler ¶ added in v0.23.0
func TokenRepo ¶
func TokenRepo(s Session) runtime.ClientAuthInfoWriter
func UserTokenRefresher ¶ added in v0.23.0
func UserTokenRefresher(s Session)
Types ¶
type OAuth20RefreshService ¶ added in v0.21.0
type OAuth20RefreshService struct { Client *iamclient.JusticeIamService ConfigRepository repository.ConfigRepository Token repository.TokenRepository }
type RefreshTokenImpl ¶ added in v0.21.0
func DefaultRefreshTokenImpl ¶ added in v0.21.0
func DefaultRefreshTokenImpl() *RefreshTokenImpl
func (*RefreshTokenImpl) DisableAutoRefresh ¶ added in v0.21.0
func (r *RefreshTokenImpl) DisableAutoRefresh() bool
func (*RefreshTokenImpl) GetRefreshRate ¶ added in v0.21.0
func (r *RefreshTokenImpl) GetRefreshRate() float64
func (*RefreshTokenImpl) SetRefreshIsRunningInBackground ¶ added in v0.23.0
func (r *RefreshTokenImpl) SetRefreshIsRunningInBackground(b bool)
type Session ¶ added in v0.21.0
type Session struct { Token repository.TokenRepository Config repository.ConfigRepository Refresh repository.RefreshTokenRepository }
Click to show internal directories.
Click to hide internal directories.