pub enum AuthorisationResponse {
ConsentRequested {
client_name: String,
scopes: BTreeSet<String>,
pii_scopes: BTreeSet<String>,
consent_token: String,
},
Permitted,
}
Expand description
When we request to authorise, it can either prompt us for consent, or it can immediately be granted due the past grant.
Variants§
Trait Implementations§
source§impl Clone for AuthorisationResponse
impl Clone for AuthorisationResponse
source§fn clone(&self) -> AuthorisationResponse
fn clone(&self) -> AuthorisationResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AuthorisationResponse
impl Debug for AuthorisationResponse
source§impl<'de> Deserialize<'de> for AuthorisationResponse
impl<'de> Deserialize<'de> for AuthorisationResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more