pub struct AppCredentials {
pub app_id: String,
pub key_bytes: Zeroizing<Vec<u8>>,
}Expand description
The two halves of the App identity. The caller resolves both — the id from the environment, the key from the run’s one read of the named file — so this module never opens anything itself.
Fields§
§app_id: StringThe numeric App id, which becomes the token’s iss.
key_bytes: Zeroizing<Vec<u8>>The validated private key’s bytes.
Auto Trait Implementations§
impl Freeze for AppCredentials
impl RefUnwindSafe for AppCredentials
impl Send for AppCredentials
impl Sync for AppCredentials
impl Unpin for AppCredentials
impl UnsafeUnpin for AppCredentials
impl UnwindSafe for AppCredentials
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