GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — OAuth2Auth | ADK for TypeScript: API Reference - v2.5.0

  • OAuth2Auth

Interface OAuth2Auth

Represents credential value and its metadata for a OAuth2 credential.

interface OAuth2Auth {
    accessToken?: string;
    audience?: string;
    authCode?: string;
    authResponseUri?: string;
    authUri?: string;
    clientId?: string;
    clientSecret?: string;
    codeChallengeMethod?: string;
    codeVerifier?: string;
    expiresAt?: number;
    expiresIn?: number;
    idToken?: string;
    nonce?: string;
    redirectUri?: string;
    refreshToken?: string;
    state?: string;
    tokenEndpointAuthMethod?: string;
}
  • Defined in core/src/auth/auth_credential.ts:39

Properties

OptionalaccessToken

accessToken?: string
  • Defined in core/src/auth/auth_credential.ts:61

Optionalaudience

audience?: string
  • Defined in core/src/auth/auth_credential.ts:66

OptionalauthCode

authCode?: string
  • Defined in core/src/auth/auth_credential.ts:60

OptionalauthResponseUri

authResponseUri?: string
  • Defined in core/src/auth/auth_credential.ts:59

OptionalauthUri

authUri?: string

tool or adk can generate the authUri with the state info thus client can verify the state

  • Defined in core/src/auth/auth_credential.ts:46

OptionalclientId

clientId?: string
  • Defined in core/src/auth/auth_credential.ts:40

OptionalclientSecret

clientSecret?: string
  • Defined in core/src/auth/auth_credential.ts:41

OptionalcodeChallengeMethod

codeChallengeMethod?: string

The PKCE code challenge method. Only 'S256' is supported; any other value is rejected when the authorization URI is generated.

  • Defined in core/src/auth/auth_credential.ts:54

OptionalcodeVerifier

codeVerifier?: string
  • Defined in core/src/auth/auth_credential.ts:49

OptionalexpiresAt

expiresAt?: number
  • Defined in core/src/auth/auth_credential.ts:64

OptionalexpiresIn

expiresIn?: number
  • Defined in core/src/auth/auth_credential.ts:65

OptionalidToken

idToken?: string
  • Defined in core/src/auth/auth_credential.ts:63

Optionalnonce

nonce?: string
  • Defined in core/src/auth/auth_credential.ts:47

OptionalredirectUri

redirectUri?: string

tool or adk can decide the redirect_uri if they don't want client to decide

  • Defined in core/src/auth/auth_credential.ts:58

OptionalrefreshToken

refreshToken?: string
  • Defined in core/src/auth/auth_credential.ts:62

Optionalstate

state?: string
  • Defined in core/src/auth/auth_credential.ts:48

OptionaltokenEndpointAuthMethod

tokenEndpointAuthMethod?: string
  • Defined in core/src/auth/auth_credential.ts:67
Properties
accessTokenaudienceauthCodeauthResponseUriauthUriclientIdclientSecretcodeChallengeMethodcodeVerifierexpiresAtexpiresInidTokennonceredirectUrirefreshTokenstatetokenEndpointAuthMethod
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.