pub struct TokenSession {
pub session: Session,
pub secret_field: Option<&'static str>,
pub request_headers: &'static [&'static str],
pub request_header_block: &'static str,
}Expand description
The token session: the OAuth exchange.
Fields§
§session: Session§secret_field: Option<&'static str>The body field committed rather than revealed, ordered last so the
committed run is a suffix (REQ-COMMON-22). None for a public client,
whose request hides nothing and is revealed whole.
request_headers: &'static [&'static str]Every header this request sends, lowercased as the wire spells them,
in no particular order. content-length is absent because its value
is the body’s own count: the HTTP client appends it and the verifier
reads it rather than compares it.
request_header_block: &'static strThe same lines joined by CRLF, which is the shape a Platform Verifier splits and matches as a set – order is the prover’s, the set is the profile’s.
Trait Implementations§
Source§impl Clone for TokenSession
impl Clone for TokenSession
Source§fn clone(&self) -> TokenSession
fn clone(&self) -> TokenSession
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TokenSession
Source§impl Debug for TokenSession
impl Debug for TokenSession
impl Eq for TokenSession
Source§impl PartialEq for TokenSession
impl PartialEq for TokenSession
impl StructuralPartialEq for TokenSession
Auto Trait Implementations§
impl Freeze for TokenSession
impl RefUnwindSafe for TokenSession
impl Send for TokenSession
impl Sync for TokenSession
impl Unpin for TokenSession
impl UnsafeUnpin for TokenSession
impl UnwindSafe for TokenSession
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