Skip to main content

UpdateOAuthAppRequest

Type Alias UpdateOAuthAppRequest 

Source
pub type UpdateOAuthAppRequest = CreateOAuthAppRequest;
Expand description

What reconfiguring one sends, which is the same body. The secret is neither regenerated nor returned.

Aliased Type§

pub struct UpdateOAuthAppRequest {
    pub name: Option<String>,
    pub description: Option<String>,
    pub redirect_uris: Option<Vec<String>>,
    pub scopes: Option<Vec<String>>,
    pub allowed_node_attributes: Option<Vec<String>>,
    pub unknown: BTreeMap<String, Value>,
}

Fields§

§name: Option<String>

3 to 50 characters of [A-Za-z0-9._-]. Required.

§description: Option<String>

At most 300 characters.

§redirect_uris: Option<Vec<String>>

Required, at least one, each https — or http on localhost.

§scopes: Option<Vec<String>>

Required and non-empty, as auth_keys:create and the like.

§allowed_node_attributes: Option<Vec<String>>

Device attributes this app may set, each beginning custom:.

§unknown: BTreeMap<String, Value>

Everything the description did not mention, kept so that a control plane ahead of this build still answers usefully.