token

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package token provides a decoder for Calyptia Cloud projects tokens. Tokens contain a signed payload with the project identifier.

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidToken = errors.New("invalid project token")

ErrInvalidToken denotes a malformed project token.

Functions

func Decode

func Decode(token []byte) (string, error)

Decode decodes a project token without verifying its signature and getting its inner project ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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