pub struct AppCredentials {
pub app_id: u64,
pub slug: String,
pub client_id: String,
pub client_secret: Secret,
pub webhook_secret: Secret,
pub pem: Secret,
pub owner_login: Option<String>,
}Expand description
What registering the App produced. Holds the App private key and the
webhook and client secrets: zeroized on drop, never Debug-printed.
Fields§
§app_id: u64Numeric App id.
slug: StringURL slug (for the install page).
client_id: StringOAuth client id (JWT issuer, device-flow client).
client_secret: SecretOAuth client secret.
webhook_secret: SecretWebhook HMAC secret.
pem: SecretThe App private key, PEM. Hand it to the sealed store and drop this.
owner_login: Option<String>The account that owns the App.
Trait Implementations§
Auto Trait Implementations§
impl Forget for AppCredentials
impl Freeze for AppCredentials
impl Move for AppCredentials
impl RefUnwindSafe for AppCredentials
impl Send for AppCredentialswhere
RawVecInner: Send,
impl Sync for AppCredentialswhere
RawVecInner: Sync,
impl Unpin for AppCredentials
impl UnsafeUnpin for AppCredentials
impl UnwindSafe for AppCredentialswhere
RawVecInner: UnwindSafe,
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