pub struct SignInConfig {
pub issuer: String,
pub client_id: String,
pub client_secret: Option<String>,
pub riff_id: String,
}Expand description
GET /v1/sign-in: the OpenID Connect provider that riff login
signs in with.
Fields§
§issuer: StringThe issuer. Its discovery document is at
<issuer>/.well-known/openid-configuration.
client_id: String§client_secret: Option<String>Google asks for the secret of a desktop client too. It is not a secret: it ships to each person who signs in.
riff_id: StringThe ID of this riff (01M3JNVBPMZ1K9WX7Q7DP6Y0DH). riff keeps it
with its sign-in. Another ID means that the riff is new.
Trait Implementations§
Source§impl Clone for SignInConfig
impl Clone for SignInConfig
Source§fn clone(&self) -> SignInConfig
fn clone(&self) -> SignInConfig
Returns a duplicate 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 SignInConfig
impl Debug for SignInConfig
Source§impl<'de> Deserialize<'de> for SignInConfig
impl<'de> Deserialize<'de> for SignInConfig
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
Source§impl JsonSchema for SignInConfig
impl JsonSchema for SignInConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SignInConfig
impl PartialEq for SignInConfig
Source§impl Serialize for SignInConfig
impl Serialize for SignInConfig
impl Eq for SignInConfig
impl StructuralPartialEq for SignInConfig
Auto Trait Implementations§
impl Freeze for SignInConfig
impl RefUnwindSafe for SignInConfig
impl Send for SignInConfig
impl Sync for SignInConfig
impl Unpin for SignInConfig
impl UnsafeUnpin for SignInConfig
impl UnwindSafe for SignInConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.