pub struct AndroidIntegrityPayload {
pub integrity_token: String,
}Expand description
Android Play Integrity Standard API payload for verifying a signed challenge.
JSON schema
{
"description": "Android Play Integrity Standard API payload for verifying a signed challenge.",
"type": "object",
"required": [
"integrityToken"
],
"properties": {
"integrityToken": {
"description": "Play Integrity token (JWT) obtained from `StandardIntegrityManager.requestToken()`, proving this request originates from a genuine, unmodified installation of the partner app. The token must have been requested with `requestHash = base64url(SHA256(challenge))`, where `challenge` is the opaque token issued by the [Create Onramp Mobile Challenge](#operation/createOnrampMobileChallenge) endpoint.",
"examples": [
"eyJhbGci..."
],
"type": "string"
}
},
"x-audience": "public"
}Fields§
§integrity_token: StringPlay Integrity token (JWT) obtained from StandardIntegrityManager.requestToken(), proving this request originates from a genuine, unmodified installation of the partner app. The token must have been requested with requestHash = base64url(SHA256(challenge)), where challenge is the opaque token issued by the Create Onramp Mobile Challenge endpoint.
Implementations§
Source§impl AndroidIntegrityPayload
impl AndroidIntegrityPayload
pub fn builder() -> AndroidIntegrityPayload
Trait Implementations§
Source§impl Clone for AndroidIntegrityPayload
impl Clone for AndroidIntegrityPayload
Source§impl Debug for AndroidIntegrityPayload
impl Debug for AndroidIntegrityPayload
Source§impl<'de> Deserialize<'de> for AndroidIntegrityPayload
impl<'de> Deserialize<'de> for AndroidIntegrityPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AndroidIntegrityPayload> for AndroidIntegrityPayload
impl From<&AndroidIntegrityPayload> for AndroidIntegrityPayload
Source§fn from(value: &AndroidIntegrityPayload) -> Self
fn from(value: &AndroidIntegrityPayload) -> Self
Converts to this type from the input type.
Source§impl From<AndroidIntegrityPayload> for AndroidIntegrityPayload
impl From<AndroidIntegrityPayload> for AndroidIntegrityPayload
Source§fn from(value: AndroidIntegrityPayload) -> Self
fn from(value: AndroidIntegrityPayload) -> Self
Converts to this type from the input type.
Source§impl Serialize for AndroidIntegrityPayload
impl Serialize for AndroidIntegrityPayload
Source§impl TryFrom<AndroidIntegrityPayload> for AndroidIntegrityPayload
impl TryFrom<AndroidIntegrityPayload> for AndroidIntegrityPayload
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AndroidIntegrityPayload) -> Result<Self, ConversionError>
fn try_from(value: AndroidIntegrityPayload) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AndroidIntegrityPayload
impl RefUnwindSafe for AndroidIntegrityPayload
impl Send for AndroidIntegrityPayload
impl Sync for AndroidIntegrityPayload
impl Unpin for AndroidIntegrityPayload
impl UnsafeUnpin for AndroidIntegrityPayload
impl UnwindSafe for AndroidIntegrityPayload
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