GoogleCloudPaymentsResellerSubscriptionV1UserSession
import type { GoogleCloudPaymentsResellerSubscriptionV1UserSession } from "https://googleapis.deno.dev/v1/paymentsresellersubscription:v1.ts";
A user session contains a short-lived token that includes information
required to interact with Google Payments Reseller Platform using the
following web endpoints. - A user session token should be generated
dynamically for an authenticated user. You should refrain from sharing a
token directly with a user in an unauthenticated context, such as SMS, or
email. - You can re-generate new session tokens repeatedly for same
generate
request if necessary, regardless of the previous tokens being
expired or not. You don't need to worry about multiple sessions resulting in
duplicate fulfillments as guaranteed by the same subscription id. Please
refer to the Google Managed
Signup
documentation for additional integration details.
interface GoogleCloudPaymentsResellerSubscriptionV1UserSession {
readonly expireTime?: Date;
readonly token?: string;
}