@sourceloop/user-tenant-service / Exports / AuthClient
Class: AuthClient<T>¶
Type parameters¶
Name | Type |
---|---|
T |
DataObject <Model > |
Hierarchy¶
-
BaseEntity
<T
&AuthClient
>↳
AuthClient
Implements¶
IAuthClient
Table of contents¶
Constructors¶
Properties¶
- accessTokenExpiration
- authCodeExpiration
- clientId
- clientSecret
- createdOn
- id
- modifiedOn
- redirectUrl
- refreshTokenExpiration
- secret
Constructors¶
constructor¶
• new AuthClient<T
>(data?
)
Type parameters¶
Name | Type |
---|---|
T |
DataObject <Model > |
Parameters¶
Name | Type |
---|---|
data? |
Partial <T & AuthClient <DataObject <Model >>> |
Inherited from¶
BaseEntity<T & AuthClient>.constructor
Defined in¶
packages/core/dist/models/base-entity.model.d.ts:6
Properties¶
accessTokenExpiration¶
• accessTokenExpiration: number
Defined in¶
services/user-tenant-service/src/models/auth-client.model.ts:52
authCodeExpiration¶
• authCodeExpiration: number
Defined in¶
services/user-tenant-service/src/models/auth-client.model.ts:66
clientId¶
• clientId: string
Implementation of¶
IAuthClient.clientId
Defined in¶
services/user-tenant-service/src/models/auth-client.model.ts:27
clientSecret¶
• clientSecret: string
Implementation of¶
IAuthClient.clientSecret
Defined in¶
services/user-tenant-service/src/models/auth-client.model.ts:33
createdOn¶
• Optional
createdOn: Date
Inherited from¶
BaseEntity.createdOn
Defined in¶
packages/core/dist/models/base-entity.model.d.ts:4
id¶
• Optional
id: number
Defined in¶
services/user-tenant-service/src/models/auth-client.model.ts:20
modifiedOn¶
• Optional
modifiedOn: Date
Inherited from¶
BaseEntity.modifiedOn
Defined in¶
packages/core/dist/models/base-entity.model.d.ts:5
redirectUrl¶
• Optional
redirectUrl: string
Implementation of¶
IAuthClient.redirectUrl
Defined in¶
services/user-tenant-service/src/models/auth-client.model.ts:39
refreshTokenExpiration¶
• refreshTokenExpiration: number
Defined in¶
services/user-tenant-service/src/models/auth-client.model.ts:59
secret¶
• secret: string
Defined in¶
services/user-tenant-service/src/models/auth-client.model.ts:45