pub struct Identity {
pub assertion: String,
pub extensions: Vec<(String, Option<String>)>,
}Expand description
a=identity:<assertion> *(SP <extension>) (RFC 8827 section 5).
identity-assertion = identity-assertion-value *(SP identity-extension)
identity-assertion-value = base64
identity-extension = extension-name [ "=" extension-value ]
extension-name = token
extension-value = 1*(%x01-09 / %x0b-0c / %x0e-3a / %x3c-ff)This is the syntax only: the engine does not implement identity providers.
Fields§
§assertion: StringThe assertion, base64 text as written (it decodes to a JSON object).
extensions: Vec<(String, Option<String>)>The extensions, as (name, value), in order.
Trait Implementations§
impl Eq for Identity
impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl Forget for Identity
impl Freeze for Identity
impl Move for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnsafeUnpin for Identity
impl UnwindSafe for Identity
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