Skip to content

kient / KientUserTokenAuthentication

Class: KientUserTokenAuthentication

src/authentication/user-token.ts:45

Constructors

new KientUserTokenAuthentication()

ts
new KientUserTokenAuthentication(params): KientUserTokenAuthentication

src/authentication/user-token.ts:48

Parameters

ParameterType
paramsKientUserAuthenticationParams

Returns

KientUserTokenAuthentication

Properties

PropertyTypeDefined in
paramsKientUserAuthenticationParamssrc/authentication/user-token.ts:46

Methods

constructAuthoriseUrl()

ts
constructAuthoriseUrl(params): object

src/authentication/user-token.ts:52

Parameters

ParameterType
paramsKientUserAuthoriseParams

Returns

object

NameTypeDefined in
statestringsrc/authentication/user-token.ts:73
urlstringsrc/authentication/user-token.ts:72
verifierstringsrc/authentication/user-token.ts:74

generateToken()

ts
generateToken(params): Promise<Token>

src/authentication/user-token.ts:78

Parameters

ParameterType
paramsKientUserTokenParams

Returns

Promise<Token>


refeshToken()

ts
refeshToken(params): Promise<Token>

src/authentication/user-token.ts:105

Parameters

ParameterType
paramsKientUserRefreshTokenParams

Returns

Promise<Token>