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