@sourceloop/oidc-service / Exports
@sourceloop/oidc-service¶
Table of contents¶
Namespaces¶
Classes¶
- AuthClient
- AuthClientRepository
- FindAccountProvider
- OidcProviderProvider
- OidcServiceComponent
- Otp
- OtpRepository
- Role
- RoleRepository
- Tenant
- TenantConfig
- TenantConfigRepository
- TenantRepository
- User
- UserCredentials
- UserCredentialsRepository
- UserLevelPermission
- UserLevelPermissionRepository
- UserRepository
- UserTenant
- UserTenantRepository
Interfaces¶
- ExternalTokens
- FindAccountResult
- IAuthClientDTO
- IAuthServiceConfig
- IMfaConfig
- UserCredentialsRelations
- UserRelations
- UserTenantRelations
Type Aliases¶
- FindAccountProviderFn
- RoleWithRelations
- TenantWithRelations
- UserCredentialsWithRelations
- UserTenantWithRelations
- UserWithRelations
Variables¶
Type Aliases¶
FindAccountProviderFn¶
Ƭ FindAccountProviderFn: (ctx
: unknown
, sub
: string
, token
: unknown
) => Promise
<FindAccountResult
>
Type declaration¶
▸ (ctx
, sub
, token
): Promise
<FindAccountResult
>
Parameters¶
Name | Type |
---|---|
ctx |
unknown |
sub |
string |
token |
unknown |
Returns¶
Promise
<FindAccountResult
>
Defined in¶
services/oidc-service/src/types.ts:34
RoleWithRelations¶
Ƭ RoleWithRelations: Role
Defined in¶
services/oidc-service/src/models/role.model.ts:41
TenantWithRelations¶
Ƭ TenantWithRelations: Tenant
Defined in¶
services/oidc-service/src/models/tenant.model.ts:71
UserCredentialsWithRelations¶
Ƭ UserCredentialsWithRelations: UserCredentials
& UserCredentialsRelations
Defined in¶
services/oidc-service/src/models/user-credentials.model.ts:66
UserTenantWithRelations¶
Ƭ UserTenantWithRelations: UserTenant
& UserTenantRelations
Defined in¶
services/oidc-service/src/models/user-tenant.model.ts:81
UserWithRelations¶
Ƭ UserWithRelations: User
& UserRelations
Defined in¶
services/oidc-service/src/models/user.model.ts:124
Variables¶
AuthCacheSourceName¶
• Const
AuthCacheSourceName: "AuthCache"
Defined in¶
services/oidc-service/src/types.ts:16
AuthDbSourceName¶
• Const
AuthDbSourceName: "AuthDB"
Defined in¶
services/oidc-service/src/types.ts:15
jwks¶
• Const
jwks: Object
Type declaration¶
Name | Type |
---|---|
keys |
{ alg : undefined | string = process.env.OIDC_JWKS_ALG; d : undefined | string = process.env.OIDC_JWKS_D; dp : undefined | string = process.env.OIDC_JWKS_DP; dq : undefined | string = process.env.OIDC_JWKS_DQ; e : undefined | string = process.env.OIDC_JWKS_E; kid : undefined | string = process.env.OIDC_JWKS_KID; kty : undefined | string = process.env.OIDC_JWKS_KTY; n : undefined | string = process.env.OIDC_JWKS_N; p : undefined | string = process.env.OIDC_JWKS_P; q : undefined | string = process.env.OIDC_JWKS_Q; qi : undefined | string = process.env.OIDC_JWKS_QI; use : undefined | string = process.env.OIDC_JWKS_USE }[] |