-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in task/reorg (pull request #35)
Reorganized models/entities into domain folder Approved-by: Ryan Mathis <rmathis@unicon.net>
- Loading branch information
Showing
72 changed files
with
230 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { NgModule, ModuleWithProviders } from '@angular/core'; | ||
|
||
@NgModule({ | ||
declarations: [], | ||
entryComponents: [], | ||
imports: [], | ||
exports: [], | ||
providers: [] | ||
}) | ||
export class DomainModule { | ||
static forRoot(): ModuleWithProviders { | ||
return { | ||
ngModule: RootDomainModule, | ||
providers: [] | ||
}; | ||
} | ||
} | ||
|
||
@NgModule({ | ||
imports: [], | ||
}) | ||
export class RootDomainModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { MetadataFilter, RelyingPartyOverrides } from '../model/metadata-filter'; | ||
|
||
export class Filter implements MetadataFilter { | ||
id = ''; | ||
createdDate?: string; | ||
modifiedDate?: string; | ||
|
||
entityId = ''; | ||
filterName = ''; | ||
filterEnabled = false; | ||
|
||
relyingPartyOverrides = { | ||
nameIdFormats: [] as string[], | ||
authenticationMethods: [] as string[] | ||
} as RelyingPartyOverrides; | ||
|
||
attributeRelease = [] as string[]; | ||
|
||
constructor(obj?: Partial<MetadataFilter>) { | ||
Object.assign(this, obj); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export interface Certificate { | ||
name: string; | ||
type: string; | ||
value: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export interface Contact { | ||
type: string; | ||
name: string; | ||
emailAddress: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface LogoutEndpoint { | ||
url: string; | ||
bindingType: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export interface MDUI { | ||
displayName?: string; | ||
informationUrl?: string; | ||
privacyStatementUrl?: string; | ||
logoUrl?: string; | ||
logoHeight?: number; | ||
logoWidth?: number; | ||
description?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { Organization } from './organization'; | ||
import { MDUI } from './mdui'; | ||
import { Contact } from './contact'; | ||
import { SecurityInfo } from './security-info'; | ||
import { SsoService, LogoutEndpoint } from '../../domain/model/metadata-provider'; | ||
import { IdpSsoDescriptor } from './sso-descriptor'; | ||
import { RelyingPartyOverrides } from './relying-party-overrides'; | ||
|
||
export interface MetadataBase { | ||
id?: string; | ||
createdDate?: string; | ||
modifiedDate?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { RelyingPartyOverrides } from './relying-party-overrides'; | ||
import { MetadataBase } from './metadata-base'; | ||
|
||
export interface MetadataFilter extends MetadataBase { | ||
entityId: string; | ||
filterName: string; | ||
filterEnabled?: boolean; | ||
relyingPartyOverrides: RelyingPartyOverrides; | ||
attributeRelease: string[]; | ||
} | ||
|
||
export * from './relying-party-overrides'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { Organization } from './organization'; | ||
import { MDUI } from './mdui'; | ||
import { Contact } from './contact'; | ||
import { SecurityInfo } from './security-info'; | ||
import { SsoService } from './sso-service'; | ||
import { LogoutEndpoint } from './logout-endpoint'; | ||
import { IdpSsoDescriptor } from './sso-descriptor'; | ||
import { RelyingPartyOverrides } from './relying-party-overrides'; | ||
import { Certificate } from './certificate'; | ||
|
||
import { MetadataBase } from './metadata-base'; | ||
|
||
export interface MetadataProvider extends MetadataBase { | ||
entityId: string; | ||
serviceProviderName: string; | ||
organization?: Organization; | ||
contacts?: Contact[]; | ||
mdui?: MDUI; | ||
securityInfo?: SecurityInfo; | ||
assertionConsumerServices?: SsoService[]; | ||
serviceProviderSsoDescriptor?: IdpSsoDescriptor; | ||
logoutEndpoints?: LogoutEndpoint[]; | ||
serviceEnabled?: boolean; | ||
relyingPartyOverrides: RelyingPartyOverrides; | ||
attributeRelease: string[]; | ||
} | ||
|
||
export * from './organization'; | ||
export * from './mdui'; | ||
export * from './contact'; | ||
export * from './security-info'; | ||
export * from './sso-service'; | ||
export * from './logout-endpoint'; | ||
export * from './sso-descriptor'; | ||
export * from './relying-party-overrides'; | ||
export * from './certificate'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export interface Organization { | ||
name?: string; | ||
displayName?: string; | ||
url?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export interface RelyingPartyOverrides { | ||
signAssertion?: boolean; | ||
dontSignResponse?: boolean; | ||
turnOffEncryption?: boolean; | ||
useSha?: boolean; | ||
ignoreAuthenticationMethod?: boolean; | ||
omitNotBefore?: boolean; | ||
responderId?: string; | ||
nameIdFormats: string[]; | ||
authenticationMethods: string[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { Certificate } from './certificate'; | ||
|
||
export interface SecurityInfo { | ||
x509CertificateAvailable?: boolean; | ||
authenticationRequestsSigned?: boolean; | ||
wantAssertionsSigned?: boolean; | ||
x509Certificates: Certificate[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface IdpSsoDescriptor { | ||
protocolSupportEnum: string; | ||
nameIdFormats: string[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export interface SsoService { | ||
binding: string; | ||
locationUrl: string; | ||
makeDefault: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.