Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ActionsSdkOptions<TConvData, TUserStorage>

Type parameters

  • TConvData

  • TUserStorage

Hierarchy

  • ConversationAppOptions<TConvData, TUserStorage>
    • ActionsSdkOptions

Properties

Optional clientId

clientId: undefined | string

Client ID for User Profile Payload Verification See {@link Profile#payload|conv.user.profile.payload}

Optional debug

debug: undefined | false | true

Optional init

init: undefined | function

Optional verification

verification: ActionsSdkVerification | string

Validates whether request is from Google through signature verification. Uses Google-Auth-Library to verify authorization token against given Google Cloud Project ID. Auth token is given in request header with key, "authorization".

HTTP Code 403 will be thrown by default on verification error.

example

const app = actionssdk({ verification: 'nodejs-cloud-test-project-1234' })

HTTP Code 403 will be thrown by default on verification error.

example

const app = actionssdk({ verification: 'nodejs-cloud-test-project-1234' })
example

const app = actionssdk({ verification: 'nodejs-cloud-test-project-1234' })

Generated using TypeDoc