Documentation ¶
Index ¶
- type AuthenticationContext
- func (_m *AuthenticationContext) Claims() config.Claims
- func (_m *AuthenticationContext) CookieManager() interfaces.CookieHandler
- func (_m *AuthenticationContext) GetBaseURL() *url.URL
- func (_m *AuthenticationContext) GetHTTPClient() *http.Client
- func (_m *AuthenticationContext) GetOAuth2MetadataURL() *url.URL
- func (_m *AuthenticationContext) GetOIdCMetadataURL() *url.URL
- func (_m *AuthenticationContext) GetUserInfoURL() *url.URL
- func (_m *AuthenticationContext) OAuth2Config() *oauth2.Config
- func (_m *AuthenticationContext) OidcProvider() *oidc.Provider
- func (_m *AuthenticationContext) OnClaims() *AuthenticationContext_Claims
- func (_m *AuthenticationContext) OnClaimsMatch(matchers ...interface{}) *AuthenticationContext_Claims
- func (_m *AuthenticationContext) OnCookieManager() *AuthenticationContext_CookieManager
- func (_m *AuthenticationContext) OnCookieManagerMatch(matchers ...interface{}) *AuthenticationContext_CookieManager
- func (_m *AuthenticationContext) OnGetBaseURL() *AuthenticationContext_GetBaseURL
- func (_m *AuthenticationContext) OnGetBaseURLMatch(matchers ...interface{}) *AuthenticationContext_GetBaseURL
- func (_m *AuthenticationContext) OnGetHTTPClient() *AuthenticationContext_GetHTTPClient
- func (_m *AuthenticationContext) OnGetHTTPClientMatch(matchers ...interface{}) *AuthenticationContext_GetHTTPClient
- func (_m *AuthenticationContext) OnGetOAuth2MetadataURL() *AuthenticationContext_GetOAuth2MetadataURL
- func (_m *AuthenticationContext) OnGetOAuth2MetadataURLMatch(matchers ...interface{}) *AuthenticationContext_GetOAuth2MetadataURL
- func (_m *AuthenticationContext) OnGetOIdCMetadataURL() *AuthenticationContext_GetOIdCMetadataURL
- func (_m *AuthenticationContext) OnGetOIdCMetadataURLMatch(matchers ...interface{}) *AuthenticationContext_GetOIdCMetadataURL
- func (_m *AuthenticationContext) OnGetUserInfoURL() *AuthenticationContext_GetUserInfoURL
- func (_m *AuthenticationContext) OnGetUserInfoURLMatch(matchers ...interface{}) *AuthenticationContext_GetUserInfoURL
- func (_m *AuthenticationContext) OnOAuth2Config() *AuthenticationContext_OAuth2Config
- func (_m *AuthenticationContext) OnOAuth2ConfigMatch(matchers ...interface{}) *AuthenticationContext_OAuth2Config
- func (_m *AuthenticationContext) OnOidcProvider() *AuthenticationContext_OidcProvider
- func (_m *AuthenticationContext) OnOidcProviderMatch(matchers ...interface{}) *AuthenticationContext_OidcProvider
- func (_m *AuthenticationContext) OnOptions() *AuthenticationContext_Options
- func (_m *AuthenticationContext) OnOptionsMatch(matchers ...interface{}) *AuthenticationContext_Options
- func (_m *AuthenticationContext) Options() config.OAuthOptions
- type AuthenticationContext_Claims
- type AuthenticationContext_CookieManager
- type AuthenticationContext_GetBaseURL
- type AuthenticationContext_GetHTTPClient
- type AuthenticationContext_GetOAuth2MetadataURL
- type AuthenticationContext_GetOIdCMetadataURL
- type AuthenticationContext_GetUserInfoURL
- type AuthenticationContext_OAuth2Config
- type AuthenticationContext_OidcProvider
- type AuthenticationContext_Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationContext ¶
AuthenticationContext is an autogenerated mock type for the AuthenticationContext type
func (*AuthenticationContext) Claims ¶
func (_m *AuthenticationContext) Claims() config.Claims
Claims provides a mock function with given fields:
func (*AuthenticationContext) CookieManager ¶
func (_m *AuthenticationContext) CookieManager() interfaces.CookieHandler
CookieManager provides a mock function with given fields:
func (*AuthenticationContext) GetBaseURL ¶
func (_m *AuthenticationContext) GetBaseURL() *url.URL
GetBaseURL provides a mock function with given fields:
func (*AuthenticationContext) GetHTTPClient ¶
func (_m *AuthenticationContext) GetHTTPClient() *http.Client
GetHTTPClient provides a mock function with given fields:
func (*AuthenticationContext) GetOAuth2MetadataURL ¶ added in v0.3.36
func (_m *AuthenticationContext) GetOAuth2MetadataURL() *url.URL
GetOAuth2MetadataURL provides a mock function with given fields:
func (*AuthenticationContext) GetOIdCMetadataURL ¶ added in v0.3.36
func (_m *AuthenticationContext) GetOIdCMetadataURL() *url.URL
GetOIdCMetadataURL provides a mock function with given fields:
func (*AuthenticationContext) GetUserInfoURL ¶
func (_m *AuthenticationContext) GetUserInfoURL() *url.URL
GetUserInfoURL provides a mock function with given fields:
func (*AuthenticationContext) OAuth2Config ¶
func (_m *AuthenticationContext) OAuth2Config() *oauth2.Config
OAuth2Config provides a mock function with given fields:
func (*AuthenticationContext) OidcProvider ¶
func (_m *AuthenticationContext) OidcProvider() *oidc.Provider
OidcProvider provides a mock function with given fields:
func (*AuthenticationContext) OnClaims ¶ added in v0.3.0
func (_m *AuthenticationContext) OnClaims() *AuthenticationContext_Claims
func (*AuthenticationContext) OnClaimsMatch ¶ added in v0.3.0
func (_m *AuthenticationContext) OnClaimsMatch(matchers ...interface{}) *AuthenticationContext_Claims
func (*AuthenticationContext) OnCookieManager ¶ added in v0.3.0
func (_m *AuthenticationContext) OnCookieManager() *AuthenticationContext_CookieManager
func (*AuthenticationContext) OnCookieManagerMatch ¶ added in v0.3.0
func (_m *AuthenticationContext) OnCookieManagerMatch(matchers ...interface{}) *AuthenticationContext_CookieManager
func (*AuthenticationContext) OnGetBaseURL ¶ added in v0.3.0
func (_m *AuthenticationContext) OnGetBaseURL() *AuthenticationContext_GetBaseURL
func (*AuthenticationContext) OnGetBaseURLMatch ¶ added in v0.3.0
func (_m *AuthenticationContext) OnGetBaseURLMatch(matchers ...interface{}) *AuthenticationContext_GetBaseURL
func (*AuthenticationContext) OnGetHTTPClient ¶ added in v0.3.0
func (_m *AuthenticationContext) OnGetHTTPClient() *AuthenticationContext_GetHTTPClient
func (*AuthenticationContext) OnGetHTTPClientMatch ¶ added in v0.3.0
func (_m *AuthenticationContext) OnGetHTTPClientMatch(matchers ...interface{}) *AuthenticationContext_GetHTTPClient
func (*AuthenticationContext) OnGetOAuth2MetadataURL ¶ added in v0.3.36
func (_m *AuthenticationContext) OnGetOAuth2MetadataURL() *AuthenticationContext_GetOAuth2MetadataURL
func (*AuthenticationContext) OnGetOAuth2MetadataURLMatch ¶ added in v0.3.36
func (_m *AuthenticationContext) OnGetOAuth2MetadataURLMatch(matchers ...interface{}) *AuthenticationContext_GetOAuth2MetadataURL
func (*AuthenticationContext) OnGetOIdCMetadataURL ¶ added in v0.3.36
func (_m *AuthenticationContext) OnGetOIdCMetadataURL() *AuthenticationContext_GetOIdCMetadataURL
func (*AuthenticationContext) OnGetOIdCMetadataURLMatch ¶ added in v0.3.36
func (_m *AuthenticationContext) OnGetOIdCMetadataURLMatch(matchers ...interface{}) *AuthenticationContext_GetOIdCMetadataURL
func (*AuthenticationContext) OnGetUserInfoURL ¶ added in v0.3.0
func (_m *AuthenticationContext) OnGetUserInfoURL() *AuthenticationContext_GetUserInfoURL
func (*AuthenticationContext) OnGetUserInfoURLMatch ¶ added in v0.3.0
func (_m *AuthenticationContext) OnGetUserInfoURLMatch(matchers ...interface{}) *AuthenticationContext_GetUserInfoURL
func (*AuthenticationContext) OnOAuth2Config ¶ added in v0.3.0
func (_m *AuthenticationContext) OnOAuth2Config() *AuthenticationContext_OAuth2Config
func (*AuthenticationContext) OnOAuth2ConfigMatch ¶ added in v0.3.0
func (_m *AuthenticationContext) OnOAuth2ConfigMatch(matchers ...interface{}) *AuthenticationContext_OAuth2Config
func (*AuthenticationContext) OnOidcProvider ¶ added in v0.3.0
func (_m *AuthenticationContext) OnOidcProvider() *AuthenticationContext_OidcProvider
func (*AuthenticationContext) OnOidcProviderMatch ¶ added in v0.3.0
func (_m *AuthenticationContext) OnOidcProviderMatch(matchers ...interface{}) *AuthenticationContext_OidcProvider
func (*AuthenticationContext) OnOptions ¶ added in v0.3.0
func (_m *AuthenticationContext) OnOptions() *AuthenticationContext_Options
func (*AuthenticationContext) OnOptionsMatch ¶ added in v0.3.0
func (_m *AuthenticationContext) OnOptionsMatch(matchers ...interface{}) *AuthenticationContext_Options
func (*AuthenticationContext) Options ¶
func (_m *AuthenticationContext) Options() config.OAuthOptions
Options provides a mock function with given fields:
type AuthenticationContext_Claims ¶ added in v0.3.0
func (AuthenticationContext_Claims) Return ¶ added in v0.3.0
func (_m AuthenticationContext_Claims) Return(_a0 config.Claims) *AuthenticationContext_Claims
type AuthenticationContext_CookieManager ¶ added in v0.3.0
func (AuthenticationContext_CookieManager) Return ¶ added in v0.3.0
func (_m AuthenticationContext_CookieManager) Return(_a0 interfaces.CookieHandler) *AuthenticationContext_CookieManager
type AuthenticationContext_GetBaseURL ¶ added in v0.3.0
func (AuthenticationContext_GetBaseURL) Return ¶ added in v0.3.0
func (_m AuthenticationContext_GetBaseURL) Return(_a0 *url.URL) *AuthenticationContext_GetBaseURL
type AuthenticationContext_GetHTTPClient ¶ added in v0.3.0
func (AuthenticationContext_GetHTTPClient) Return ¶ added in v0.3.0
func (_m AuthenticationContext_GetHTTPClient) Return(_a0 *http.Client) *AuthenticationContext_GetHTTPClient
type AuthenticationContext_GetOAuth2MetadataURL ¶ added in v0.3.36
func (AuthenticationContext_GetOAuth2MetadataURL) Return ¶ added in v0.3.36
func (_m AuthenticationContext_GetOAuth2MetadataURL) Return(_a0 *url.URL) *AuthenticationContext_GetOAuth2MetadataURL
type AuthenticationContext_GetOIdCMetadataURL ¶ added in v0.3.36
func (AuthenticationContext_GetOIdCMetadataURL) Return ¶ added in v0.3.36
func (_m AuthenticationContext_GetOIdCMetadataURL) Return(_a0 *url.URL) *AuthenticationContext_GetOIdCMetadataURL
type AuthenticationContext_GetUserInfoURL ¶ added in v0.3.0
func (AuthenticationContext_GetUserInfoURL) Return ¶ added in v0.3.0
func (_m AuthenticationContext_GetUserInfoURL) Return(_a0 *url.URL) *AuthenticationContext_GetUserInfoURL
type AuthenticationContext_OAuth2Config ¶ added in v0.3.0
func (AuthenticationContext_OAuth2Config) Return ¶ added in v0.3.0
func (_m AuthenticationContext_OAuth2Config) Return(_a0 *oauth2.Config) *AuthenticationContext_OAuth2Config
type AuthenticationContext_OidcProvider ¶ added in v0.3.0
func (AuthenticationContext_OidcProvider) Return ¶ added in v0.3.0
func (_m AuthenticationContext_OidcProvider) Return(_a0 *oidc.Provider) *AuthenticationContext_OidcProvider
type AuthenticationContext_Options ¶ added in v0.3.0
func (AuthenticationContext_Options) Return ¶ added in v0.3.0
func (_m AuthenticationContext_Options) Return(_a0 config.OAuthOptions) *AuthenticationContext_Options