Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Commit

Permalink
LDAP plugin model for issue #10.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Ramos committed Sep 15, 2016
1 parent cc35fff commit 1b2bd29
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/shared/models/plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export * from './key.model';
export * from './oauth.model';
export * from './hmac.model';
export * from './jwt.model';
export * from './ldap.model';
17 changes: 17 additions & 0 deletions src/app/shared/models/plugins/ldap.model.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { BaseModel } from '../base.model';

export class LdapModelConfig extends BaseModel {
name: string;
/* tslint:disable */
hide_credentials: boolean;
ldap_host: string;
ldap_port: number;
start_tls: boolean;
base_dn: string;
verify_ldap_host: boolean;
cache_ttl: number;
/* tslint:enable */
attribute: string;
timeout: number;
keepalive: number;
}

0 comments on commit 1b2bd29

Please sign in to comment.