kubernetes/vendor/gopkg.in/square/go-jose.v2/jwt/builder.go

type Builder

type NestedBuilder

type builder

type signedBuilder

type encryptedBuilder

type nestedBuilder

// Signed creates builder for signed tokens.
func Signed(sig jose.Signer) Builder {}

// Encrypted creates builder for encrypted tokens.
func Encrypted(enc jose.Encrypter) Builder {}

// SignedAndEncrypted creates builder for signed-then-encrypted tokens.
// ErrInvalidContentType will be returned if encrypter doesn't have JWT content type.
func SignedAndEncrypted(sig jose.Signer, enc jose.Encrypter) NestedBuilder {}

func (b builder) claims(i interface{}

func normalize(i interface{}

func (b *builder) merge(m map[string]interface{}

func (b *builder) token(p func(interface{}

func (b *signedBuilder) Claims(i interface{}

func (b *signedBuilder) Token() (*JSONWebToken, error) {}

func (b *signedBuilder) CompactSerialize() (string, error) {}

func (b *signedBuilder) FullSerialize() (string, error) {}

func (b *signedBuilder) sign() (*jose.JSONWebSignature, error) {}

func (b *encryptedBuilder) Claims(i interface{}

func (b *encryptedBuilder) CompactSerialize() (string, error) {}

func (b *encryptedBuilder) FullSerialize() (string, error) {}

func (b *encryptedBuilder) Token() (*JSONWebToken, error) {}

func (b *encryptedBuilder) encrypt() (*jose.JSONWebEncryption, error) {}

func (b *nestedBuilder) Claims(i interface{}

func (b *nestedBuilder) Token() (*NestedJSONWebToken, error) {}

func (b *nestedBuilder) CompactSerialize() (string, error) {}

func (b *nestedBuilder) FullSerialize() (string, error) {}

func (b *nestedBuilder) signAndEncrypt() (*jose.JSONWebEncryption, error) {}