Skip to content

TypeScript API / @contentia/decap / PKCEAuthenticationPage

Class: PKCEAuthenticationPage ​

The login page for the OAuth 2.0 authorization-code flow with PKCE, against contentia/server/oauth2 or any other OAuth 2.0 / OpenID Connect provider.

Extends ​

Constructors ​

Constructor ​

ts
new PKCEAuthenticationPage(props): PKCEAuthenticationPage;

Parameters ​

ParameterType
propsPKCEAuthPageProps

Returns ​

PKCEAuthenticationPage

Overrides ​

Component<PKCEAuthPageProps, PKCEAuthPageState>.constructor

Methods ​

componentDidMount() ​

ts
componentDidMount(): void;

Called immediately after a component is mounted. Setting state here will trigger re-rendering.

Returns ​

void

Overrides ​

Component.componentDidMount


handleLogin() ​

ts
handleLogin(e): void;

Parameters ​

ParameterType
eMouseEvent

Returns ​

void


render() ​

ts
render(): Element;

Returns ​

Element

Overrides ​

Component.render