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
Parameter | Type |
---|---|
params | KientUserAuthenticationParams |
Returns
Properties
Property | Type | Defined in |
---|---|---|
params | KientUserAuthenticationParams | src/authentication/user-token.ts:46 |
Methods
constructAuthoriseUrl()
ts
constructAuthoriseUrl(params): object
src/authentication/user-token.ts:52
Parameters
Parameter | Type |
---|---|
params | KientUserAuthoriseParams |
Returns
object
Name | Type | Defined in |
---|---|---|
state | string | src/authentication/user-token.ts:73 |
url | string | src/authentication/user-token.ts:72 |
verifier | string | src/authentication/user-token.ts:74 |
generateToken()
ts
generateToken(params): Promise<Token>
src/authentication/user-token.ts:78
Parameters
Parameter | Type |
---|---|
params | KientUserTokenParams |
Returns
Promise
<Token
>
refeshToken()
ts
refeshToken(params): Promise<Token>
src/authentication/user-token.ts:105
Parameters
Parameter | Type |
---|---|
params | KientUserRefreshTokenParams |
Returns
Promise
<Token
>