Documentation ¶
Index ¶
- func CreateIdentityWithSession(c *ory.APIClient, email, password string) error
- func CreateTemporaryUser(client *ory.APIClient) (email string, password string, err error)
- func LogKratosSdkError(err error, res *http.Response)
- func Login(kratosUrl string, email string, password string) (*ory.SuccessfulSelfServiceLoginWithoutBrowser, error)
- func MustReadAll(r io.Reader) []byte
- func NewSDKForSelfHosted(endpoint string) *ory.APIClient
- func PrintJSONPretty(v interface{})
- func RandomCredentials() (email, password string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIdentityWithSession ¶
CreateIdentityWithSession creates an identity and an Ory Session Token for it.
func CreateTemporaryUser ¶
func LogKratosSdkError ¶
func MustReadAll ¶
func NewSDKForSelfHosted ¶
func PrintJSONPretty ¶
func PrintJSONPretty(v interface{})
func RandomCredentials ¶
func RandomCredentials() (email, password string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.