jose2go: github.com/dvsekhvalnov/jose2go/compact Index | Files

package compact

import "github.com/dvsekhvalnov/jose2go/compact"

package compact provides function to work with json compact serialization format

Index

Package Files

compact.go

func Parse Uses

func Parse(token string) (result [][]byte, e error)

Parse splitting & decoding compact serialized json web token, returns slice of byte arrays, each representing part of token

func Serialize Uses

func Serialize(parts ...[]byte) string

Serialize converts given parts into compact serialization format

Package compact imports 2 packages (graph) and is imported by 4 packages. Updated 2016-07-31. Refresh now. Tools for package owners.