pub struct OAuthClient {
pub id: i64,
pub identifier: String,
pub is_confidential: bool,
pub logo_url: Option<String>,
pub name: String,
pub redirect_uri: Vec<String>,
pub extra: Map<String, Value>,
}Expand description
An application registered to use ChurchTools as an OAuth authorization server. This differs from an external-login provider used to sign into ChurchTools. Numeric id is internal; identifier is the OAuth client_id and the management path key. Hidden built-in clients are excluded from management lists.
Fields§
§id: i64§identifier: StringOAuth client_id. Newly registered clients receive 64 lowercase hexadecimal characters.
is_confidential: boolWhether token requests authenticate with a client secret. Fixed when the client is created.
logo_url: Option<String>Logo resolved from the redirect URI origin, or null when no logo can be found.
name: String§redirect_uri: Vec<String>Registered redirect URIs. Responses return an array, whereas create and update accept a single string and replace the array with that entry.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.