Documentation ¶
Index ¶
- type AccessRevoker
- func (_m *AccessRevoker) RevokeWithClientId(ctx context.Context, clientId string, revokeRefreshToken bool) error
- func (_m *AccessRevoker) RevokeWithSessionId(ctx context.Context, sessionId string, sessionName string) error
- func (_m *AccessRevoker) RevokeWithTokenValue(ctx context.Context, tokenValue string, hint auth.RevokerTokenHint) error
- func (_m *AccessRevoker) RevokeWithUsername(ctx context.Context, username string, revokeRefreshToken bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessRevoker ¶
AccessRevoker is an autogenerated mock type for the AccessRevoker type
func NewAccessRevoker ¶
func NewAccessRevoker(t mockConstructorTestingTNewAccessRevoker) *AccessRevoker
NewAccessRevoker creates a new instance of AccessRevoker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AccessRevoker) RevokeWithClientId ¶
func (_m *AccessRevoker) RevokeWithClientId(ctx context.Context, clientId string, revokeRefreshToken bool) error
RevokeWithClientId provides a mock function with given fields: ctx, clientId, revokeRefreshToken
func (*AccessRevoker) RevokeWithSessionId ¶
func (_m *AccessRevoker) RevokeWithSessionId(ctx context.Context, sessionId string, sessionName string) error
RevokeWithSessionId provides a mock function with given fields: ctx, sessionId, sessionName
func (*AccessRevoker) RevokeWithTokenValue ¶
func (_m *AccessRevoker) RevokeWithTokenValue(ctx context.Context, tokenValue string, hint auth.RevokerTokenHint) error
RevokeWithTokenValue provides a mock function with given fields: ctx, tokenValue, hint
func (*AccessRevoker) RevokeWithUsername ¶
func (_m *AccessRevoker) RevokeWithUsername(ctx context.Context, username string, revokeRefreshToken bool) error
RevokeWithUsername provides a mock function with given fields: ctx, username, revokeRefreshToken
Click to show internal directories.
Click to hide internal directories.