Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 875 Bytes

withauth.md

File metadata and controls

33 lines (19 loc) · 875 Bytes

oidc-react / withAuth

Module: withAuth

Table of contents

Functions

Functions

withAuth

withAuth<P>(Component: React.ComponentType<P>): React.ComponentType<Omit<P, keyof AuthContextProps>>

A public higher-order component to access the imperative API

Type parameters:

Name Type
P AuthContextProps

Parameters:

Name Type
Component React.ComponentType<P>

Returns: React.ComponentType<Omit<P, keyof AuthContextProps>>

Defined in: src/withAuth.tsx:8