struct Authority::Clients::NewRequest
- Authority::Clients::NewRequest
- Struct
- Value
- Object
Included Modules
- Azu::Request
- JSON::Serializable
- Schema::Definition
- Schema::Validation
Defined in:
requests/clients/new_request.crConstant Summary
-
SCHEMA_VALIDATIONS =
{name => {message: "Param name must be present.", presence: true}, description => {message: "Param description must be present.", presence: true}, logo => {message: "Param logo must be a valid logo URL.", presence: true, match: /https?:\/\/[\S]+/}, redirect_uri => {message: "Param redirect_uri must be valid redirect URL.", presence: true, match: /https?:\/\/[\S]+/}} of Nil => Nil
-
SCHEMA_VALIDATORS =
[] of Nil
Constructors
Class Method Summary
Instance Method Summary
- #description : String
- #error_messages
- #errors
- #logo : String
- #name : String
- #redirect_uri : String
- #scopes : String
- #valid?
- #validate!