package oauth2

type ErrorResponse struct {
	Error            string `json:"error"`
	ErrorDescription string `json:"error_description,omitempty"`
	ErrorURI         string `json:"error_uri,omitempty"`
}

type InnerBasicResponse struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

func InnerDefaultSuccessResponse() InnerBasicResponse {
	return InnerBasicResponse{
		Code:    200,
		Message: "ok",
	}
}

//type IdRequest struct {
//	Id string `form:"id" json:"id"`
//}
