Navigate

API reference

pyric-admin/app-check

7 published symbols from pyric-admin

Generated from the TypeScript declarations shipped at this import path.

Check behavioral conformance

Classes

AppCheck

pyric-admin/app-check public re-export barrel.

Accessors

app
Get Signature
get app(): SandboxAdminApp;
Returns

SandboxAdminApp

Methods

createToken()
createToken(appId: string, options?: AppCheckTokenOptions): Promise<AppCheckToken>;
Parameters
ParameterType
appIdstring
options?AppCheckTokenOptions
Returns

Promise<AppCheckToken>

verifyToken()
verifyToken(appCheckToken: string, options?: VerifyAppCheckTokenOptions): Promise<VerifyAppCheckTokenResponse>;
Parameters
ParameterType
appCheckTokenstring
options?VerifyAppCheckTokenOptions
Returns

Promise<VerifyAppCheckTokenResponse>

Interfaces

AppCheckToken

Properties

PropertyType
tokenstring
ttlMillisnumber

AppCheckTokenOptions

Properties

PropertyType
jti?string
limitedUse?boolean
ttlMillis?number

DecodedAppCheckToken

Extends

  • AppCheckTokenClaims

Indexable

[claim: string]: unknown

Properties

PropertyTypeDescription
app_idstring-
audstring[]-
expnumber-
iatnumber-
issstring-
jtistring-
lustringProduction’s tokens carry this claim. The captures record its name only, so the value here is a sandbox placeholder.
providerstring-
substring-

VerifyAppCheckTokenOptions

Properties

PropertyType
consume?boolean

VerifyAppCheckTokenResponse

Properties

PropertyType
alreadyConsumed?boolean
appIdstring
tokenDecodedAppCheckToken

Functions

getAppCheck()

function getAppCheck(app?: SandboxAdminApp): AppCheck;

pyric-admin/app-check public re-export barrel.

Parameters

ParameterType
app?SandboxAdminApp

Returns

AppCheck