pkg

package
v0.0.0-...-e886681 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountDetails

type AccountDetails struct {
	AppLicensingVerdict string `json:"appLicensingVerdict"`
}

type AppIntegrity

type AppIntegrity struct {
	CertificateSha256Digest []string `json:"certificateSha256Digest"`
	AppRecognitionVerdict   string   `json:"appRecognitionVerdict"`
	PackageName             string   `json:"packageName"`
	VersionCode             string   `json:"versionCode"`
}

type DeviceIntegrity

type DeviceIntegrity struct {
	DeviceRecognitionVerdict []string `json:"deviceRecognitionVerdict"`
}

type PlayIntegrityVerdict

type PlayIntegrityVerdict struct {
	RequestDetails  *RequestDetails  `json:"requestDetails"`
	AppIntegrity    *AppIntegrity    `json:"appIntegrity"`
	DeviceIntegrity *DeviceIntegrity `json:"deviceIntegrity"`
	AccountDetails  *AccountDetails  `json:"accountDetails"`
}

type PlayIntegrityVerdictClient

type PlayIntegrityVerdictClient struct {
	// contains filtered or unexported fields
}

func NewPlayIntegrityVerdictClient

func NewPlayIntegrityVerdictClient(ctx context.Context, appPackageName string) (*PlayIntegrityVerdictClient, error)

func (*PlayIntegrityVerdictClient) DecryptVerdict

func (p *PlayIntegrityVerdictClient) DecryptVerdict(ctx context.Context, verdictToken string) (*PlayIntegrityVerdict, error)

type RequestDetails

type RequestDetails struct {
	RequestPackageName string `json:"requestPackageName"`
	Nonce              string `json:"nonce"`
	TimestampMillis    string `json:"timestampMillis"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL