orykratos

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const SessionCookieName = "ory_kratos_session"

Variables

This section is empty.

Functions

This section is empty.

Types

type OryKratosIdentity

type OryKratosIdentity struct {
	ID       ucauth.USERID           `json:"id"`
	SchemaID string                  `json:"schema_id"`
	Traits   OryKratosIdentityTraits `json:"traits"`
}

type OryKratosIdentityTraits

type OryKratosIdentityTraits struct {
	Email string `json:"email"`
	Name  string `json:"username"`
	Nick  string `json:"nickname"`
	Phone string `json:"phone"`
}

type OryKratosIdentityTraitsName

type OryKratosIdentityTraitsName struct {
	First string `json:"first"`
	Last  string `json:"last"`
}

type OryKratosSession

type OryKratosSession struct {
	ID       string            `json:"id"`
	Active   bool              `json:"active"`
	Identity OryKratosIdentity `json:"identity"`
}

Jump to

Keyboard shortcuts

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