validation

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL