Documentation ¶
Overview ¶
Package validation has functions for validating the correctness of api objects and explaining what is wrong with them when they aren't valid.
Index ¶
- func ValidateAccessToken(accessToken *api.AccessToken) errs.ValidationErrorList
- func ValidateAuthorizeToken(authorizeToken *api.AuthorizeToken) errs.ValidationErrorList
- func ValidateClient(client *api.Client) errs.ValidationErrorList
- func ValidateClientAuthorization(clientAuthorization *api.ClientAuthorization) errs.ValidationErrorList
- func ValidateClientAuthorizationUpdate(newAuth *api.ClientAuthorization, oldAuth *api.ClientAuthorization) errs.ValidationErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAccessToken ¶
func ValidateAccessToken(accessToken *api.AccessToken) errs.ValidationErrorList
func ValidateAuthorizeToken ¶
func ValidateAuthorizeToken(authorizeToken *api.AuthorizeToken) errs.ValidationErrorList
func ValidateClient ¶
func ValidateClient(client *api.Client) errs.ValidationErrorList
func ValidateClientAuthorization ¶
func ValidateClientAuthorization(clientAuthorization *api.ClientAuthorization) errs.ValidationErrorList
func ValidateClientAuthorizationUpdate ¶
func ValidateClientAuthorizationUpdate(newAuth *api.ClientAuthorization, oldAuth *api.ClientAuthorization) errs.ValidationErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.