Supporter

Supporter is the signed-in user.

On this page

Supporter is the signed-in user.

type Supporter struct {
	ID         string     `json:"id"`
	Identities []Identity `json:"identities"`
}

Fields#

ID#

ID string `json:"id"`

ID is pairwise: stable for the same person and target set.

Identities#

Identities []Identity `json:"identities"`

Identities are the provider accounts linked to the session.

Methods#

MarshalJSON#

func (s Supporter) MarshalJSON() ([]byte, error)

MarshalJSON encodes a nil Identities slice as [].

View source