Certificates
Extends:
This is a base object that contains all you can do about Certificates.
Constructor Summary
| Public Constructor | ||
| public |
constructor(Reference: InternalOpenGateAPI) Constructor |
|
Method Summary
| Public Methods | ||
| public |
This invoke a request to OpenGate North API and the callback is managed by promises This method create an element certificate |
|
| public |
This invoke a request to OpenGate North API and the callback is managed by promises This method update an element certificate |
|
| public |
withAdministrativeState(administrativeState: string): Certificates Set the administrativeState attribute |
|
| public |
withDescription(description: string): Certificates Set the description attribute |
|
| public |
withDomains(domains: Array): Certificates Set the domains attribute |
|
| public |
withId(id: string): Certificates Set the id attribute |
|
| public |
withName(name: string): Certificates Set the name attribute |
|
| public |
withParameters(parameters: string): Certificates Set the parameters attribute |
|
| public |
withTags(tags: Array): Certificates Set the tags attribute |
|
| public |
withUsages(usages: Array): Certificates Set the usages attribute |
|
Inherited Summary
| From class BaseProvision | ||
| public |
This invoke a request to OpenGate North API and the callback is managed by promises This function create a entity of provision |
|
| public |
This invoke a request to OpenGate North API and the callback is managed by promises This function deletes a entity of provision |
|
| public |
This invoke a request to OpenGate North API and the callback is managed by promises This function updates a entity of provision |
|
Public Constructors
public constructor(Reference: InternalOpenGateAPI) source
Constructor
Override:
Security#constructorParams:
| Name | Type | Attribute | Description |
| Reference | InternalOpenGateAPI | to the API object. |
Public Methods
public create(rawFile: File): Promise source
This invoke a request to OpenGate North API and the callback is managed by promises This method create an element certificate
Override:
BaseProvision#createParams:
| Name | Type | Attribute | Description |
| rawFile | File | this File is the certificate |
public update(): Promise source
This invoke a request to OpenGate North API and the callback is managed by promises This method update an element certificate
Override:
BaseProvision#updatepublic withAdministrativeState(administrativeState: string): Certificates source
Set the administrativeState attribute
Params:
| Name | Type | Attribute | Description |
| administrativeState | string |
public withDescription(description: string): Certificates source
Set the description attribute
Params:
| Name | Type | Attribute | Description |
| description | string | optional field |
public withDomains(domains: Array): Certificates source
Set the domains attribute
Params:
| Name | Type | Attribute | Description |
| domains | Array |
public withId(id: string): Certificates source
Set the id attribute
Params:
| Name | Type | Attribute | Description |
| id | string | required field on delete |
public withName(name: string): Certificates source
Set the name attribute
Params:
| Name | Type | Attribute | Description |
| name | string | required field |
public withParameters(parameters: string): Certificates source
Set the parameters attribute
Params:
| Name | Type | Attribute | Description |
| parameters | string | optional field |
public withTags(tags: Array): Certificates source
Set the tags attribute
Params:
| Name | Type | Attribute | Description |
| tags | Array |
public withUsages(usages: Array): Certificates source
Set the usages attribute
Params:
| Name | Type | Attribute | Description |
| usages | Array |