pub struct SuppliedSessionOAuthGrant { /* private fields */ }Expand description
Move-only imported grant bound to one selected policy and principal alias.
Implementations§
Source§impl SuppliedSessionOAuthGrant
impl SuppliedSessionOAuthGrant
Sourcepub fn parse_tsv(
policy: &SuppliedSessionPolicy,
source: Vec<u8>,
now_unix_seconds: i64,
) -> Result<Self, OAuthCodeInputError>
pub fn parse_tsv( policy: &SuppliedSessionPolicy, source: Vec<u8>, now_unix_seconds: i64, ) -> Result<Self, OAuthCodeInputError>
Parses eight exact TSV keys without trimming or exporting secret values. Receipt time and the local S256 relationship are assertions, not proof of an authorization interaction or authorization-server enforcement.
Trait Implementations§
Source§impl Debug for SuppliedSessionOAuthGrant
impl Debug for SuppliedSessionOAuthGrant
Source§impl From<SuppliedSessionOAuthGrant> for SuppliedSessionRuntimeInput
impl From<SuppliedSessionOAuthGrant> for SuppliedSessionRuntimeInput
Source§fn from(value: SuppliedSessionOAuthGrant) -> Self
fn from(value: SuppliedSessionOAuthGrant) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SuppliedSessionOAuthGrant
impl RefUnwindSafe for SuppliedSessionOAuthGrant
impl Send for SuppliedSessionOAuthGrant
impl Sync for SuppliedSessionOAuthGrant
impl Unpin for SuppliedSessionOAuthGrant
impl UnsafeUnpin for SuppliedSessionOAuthGrant
impl UnwindSafe for SuppliedSessionOAuthGrant
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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