Skip to main content

PortalConsentState

Whether portaling into an app requires a consent prompt on the Overworld.

type PortalConsentState {
appId: String!
appName: String
trusted: Boolean!
alreadyGranted: Boolean!
consentRequired: Boolean!
}

Fields

PortalConsentState.appId ● String! non-null scalar

App id, as a String.

PortalConsentState.appName ● String scalar

App display name.

PortalConsentState.trusted ● Boolean! non-null scalar

True for first-party/trusted apps (consent is always skipped).

PortalConsentState.alreadyGranted ● Boolean! non-null scalar

True if the user already has an active grant for this app.

True if the Overworld must show a consent screen (untrusted app, not yet granted) before creating a portal code.

Returned By

portalConsent query ● setAppClientSettings mutation