Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
Client is a client for Speechly Identity API.
func (*Client) Login ¶
func (c *Client) Login(ctx context.Context, appID, deviceID uuid.UUID) (t speechly.AccessToken, err error)
Login calls Identity.Login method with provided identifiers and within provided context. It will parse returned token into speechly.AccessToken and return it or any error if it happens. nolint: interfacer // linter wants to pass a Stringer instead of UUID, which defeats the purpose of type safety.
Click to show internal directories.
Click to hide internal directories.