kratos

package
v0.0.0-...-2119b44 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIdentityWithSession

func CreateIdentityWithSession(c *ory.APIClient, email, password string) error

CreateIdentityWithSession creates an identity and an Ory Session Token for it.

func CreateTemporaryUser

func CreateTemporaryUser(client *ory.APIClient) (email string, password string, err error)

func LogKratosSdkError

func LogKratosSdkError(err error, res *http.Response)

func Login

func Login(kratosUrl string, email string, password string) (*ory.SuccessfulSelfServiceLoginWithoutBrowser, error)

func MustReadAll

func MustReadAll(r io.Reader) []byte

func NewSDKForSelfHosted

func NewSDKForSelfHosted(endpoint string) *ory.APIClient

func PrintJSONPretty

func PrintJSONPretty(v interface{})

func RandomCredentials

func RandomCredentials() (email, password string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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