Sha256: 50ad4094a1ffbb6b26247498bd070bc620a5819e781430198ef6f0192aa6d0b5

Contents?: true

Size: 655 Bytes

Versions: 1

Compression:

Stored size: 655 Bytes

Contents

@namespace("Switchboard")
protocol AccessToken {
  /** A Twilio Access token that the client can use to authenticate with Avvo's Twilio IP Messaging Channels */

  record AccessToken {
    string identity;
    string token;
  }

  /** The accepted attributes that we'd like to fetch by in the index endpoint */
  record AccessTokenRequestParams {
    /** The Twilio Push Notifications SID for the client, used primarily by the iOS SDK */
    union { null, int } push_notifications_sid;

    /** The unique endpoint ID for the IP Messaging Client */
    union { null, int } endpoint_id;
  }

  array<AccessToken> index(AccessTokenRequestParams params);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
switchboard-contract-1.9.5 contracts/messaging/source/access_token.avdl