userdetails

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserDelete

func UserDelete(apiInterface dashboardmodels.APIInterface, tenantId string, options dashboardmodels.APIOptions, userContext supertokens.UserContext) (userDeleteResponse, error)

func UserEmailVerifyGet

func UserEmailVerifyGet(apiImplementation dashboardmodels.APIInterface, tenantId string, options dashboardmodels.APIOptions, userContext supertokens.UserContext) (userEmailVerifyGetResponse, error)

func UserEmailVerifyPut

func UserEmailVerifyPut(apiInterface dashboardmodels.APIInterface, tenantId string, options dashboardmodels.APIOptions, userContext supertokens.UserContext) (userEmailVerifyPutResponse, error)

func UserEmailVerifyTokenPost

func UserEmailVerifyTokenPost(apiInterface dashboardmodels.APIInterface, tenantId string, options dashboardmodels.APIOptions, userContext supertokens.UserContext) (userEmailVerifyTokenPost, error)

func UserMetaDataGet

func UserMetaDataGet(apiInterface dashboardmodels.APIInterface, tenantId string, options dashboardmodels.APIOptions, userContext supertokens.UserContext) (userMetaDataGetResponse, error)

func UserMetaDataPut

func UserMetaDataPut(apiInterface dashboardmodels.APIInterface, tenantId string, options dashboardmodels.APIOptions, userContext supertokens.UserContext) (userMetadataPutResponse, error)

func UserPasswordPut

func UserPasswordPut(apiInterface dashboardmodels.APIInterface, tenantId string, options dashboardmodels.APIOptions, userContext supertokens.UserContext) (userPasswordPutResponse, error)

func UserPut

func UserPut(apiInterface dashboardmodels.APIInterface, tenantId string, options dashboardmodels.APIOptions, userContext supertokens.UserContext) (userPutResponse, error)

func UserSessionsGet

func UserSessionsGet(apiInterface dashboardmodels.APIInterface, tenantId string, options dashboardmodels.APIOptions, userContext supertokens.UserContext) (userSessionsGetResponse, error)

func UserSessionsRevoke

func UserSessionsRevoke(apiInterface dashboardmodels.APIInterface, tenantId string, options dashboardmodels.APIOptions, userContext supertokens.UserContext) (userSessionsPostResponse, error)

Types

type SessionType

type SessionType struct {
	SessionDataInDatabase            interface{} `json:"sessionDataInDatabase"`
	CustomClaimsInAccessTokenPayload interface{} `json:"accessTokenPayload"`
	UserId                           string      `json:"userId"`
	Expiry                           uint64      `json:"expiry"`
	TimeCreated                      uint64      `json:"timeCreated"`
	SessionHandle                    string      `json:"sessionHandle"`
}

type UserGetResponse added in v0.16.2

type UserGetResponse struct {
	Status   string                   `json:"status"`
	RecipeId string                   `json:"recipeId,omitempty"`
	User     dashboardmodels.UserType `json:"user,omitempty"`
}

func UserGet

func UserGet(apiImplementation dashboardmodels.APIInterface, tenantId string, options dashboardmodels.APIOptions, userContext supertokens.UserContext) (UserGetResponse, error)

Jump to

Keyboard shortcuts

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