interfaces

package
v3.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2026 License: MIT Imports: 0 Imported by: 1

Documentation

Overview

This package provides the types for the Deepgram Auth API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrantToken

type GrantToken struct {
	AccessToken string  `json:"access_token,omitempty"`
	ExpiresIn   float64 `json:"expires_in,omitempty"`
}

GrantToken provides a JWT

type GrantTokenRequest added in v3.4.0

type GrantTokenRequest struct {
	TTLSeconds *int `json:"ttl_seconds,omitempty"`
}

GrantTokenRequest represents the request body for the grant token endpoint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL