Skip to main content

Type Alias: OAuthConsentLabels

OAuthConsentLabels = object

Defined in: OAuthConsent/OAuthConsent.tsx:45

All visible copy for the consent screen. Pre-translated by the consumer.

Properties​

approve​

approve: string

Defined in: OAuthConsent/OAuthConsent.tsx:53

Approve button label, e.g. "Authorize".


deny​

deny: string

Defined in: OAuthConsent/OAuthConsent.tsx:55

Deny button label, e.g. "Deny".


invalidRequestBody​

invalidRequestBody: string

Defined in: OAuthConsent/OAuthConsent.tsx:59

Body text shown when required OAuth params are missing.


invalidRequestTitle​

invalidRequestTitle: string

Defined in: OAuthConsent/OAuthConsent.tsx:57

Heading shown when required OAuth params are missing.


permissionsHeading​

permissionsHeading: string

Defined in: OAuthConsent/OAuthConsent.tsx:51

Section heading above the scope list, e.g. "Requested permissions".


requestedBy​

requestedBy: (clientName) => React.ReactNode

Defined in: OAuthConsent/OAuthConsent.tsx:49

Client request line. Receives the client identifier for interpolation.

Parameters​

ParameterType
clientNamestring

Returns​

React.ReactNode


title​

title: string

Defined in: OAuthConsent/OAuthConsent.tsx:47

Page heading, e.g. "Authorize access".