Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOAuthState

Hierarchy

  • IOAuthState

Index

Properties

Optional isAuthenticated

isAuthenticated: undefined | false | true

Optional options

Optional responseState

responseState: IServerResponseState

setOAuthState

setOAuthState: Function

setOptions

setOptions: Function

setPrompt

setPrompt: Function

setResponseState

setResponseState: Dispatch<SetStateAction<IServerResponseState>>

``` import { responseState } from "react-google-oauth2";

{({responseState}) => { // access the token from the state console.log(responseState.accessToken) // }} ```

Generated using TypeDoc