Documentation
¶
Overview ¶
Package validator ...
Package validator ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOauthClient ¶
type MockOauthClient struct {
MockValidate bool
}
MockOauthClient MockOauthClient
func (*MockOauthClient) GetNewClient ¶
func (o *MockOauthClient) GetNewClient() Client
GetNewClient GetNewClient
type OauthClient ¶
OauthClient OauthClient
func (*OauthClient) GetNewClient ¶
func (o *OauthClient) GetNewClient() Client
GetNewClient GetNewClient
type TokenRequest ¶
type TokenRequest struct {
AccessToken string `json:"accessToken"`
UserID string `json:"userId"`
ClientID int64 `json:"clientId"`
Role string `json:"role"`
URI string `json:"url"`
Scope string `json:"scope"`
}
TokenRequest TokenRequest
type TokenResponse ¶
type TokenResponse struct {
Valid bool `json:"valid"`
}
TokenResponse TokenResponse
Click to show internal directories.
Click to hide internal directories.