audience

package
v0.0.0-...-69e45e2 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

JWT の aud クレーム。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Audience

type Audience map[string]bool

JSON にしたときに、適切に単文字列か文字列配列になる。

func New

func New(aud ...string) Audience

func (Audience) MarshalJSON

func (this Audience) MarshalJSON() ([]byte, error)

func (*Audience) UnmarshalJSON

func (this *Audience) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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