Class: Scimitar::Schema::X509Certificate

Inherits:
Base
  • Object
show all
Defined in:
app/models/scimitar/schema/x509_certificate.rb

Overview

Represents the schema for the X509Certificate complex type. The ‘value’ holds the certificate data.

Similar to the Vdtp class, but the “value” field is of type “binary”.

See also Scimitar::ComplexTypes::X509Certificate

Instance Attribute Summary

Attributes inherited from Base

#description, #id, #meta, #name, #scim_attributes

Class Method Summary collapse

Methods inherited from Base

#as_json, cloned_scim_attributes, find_attribute, #initialize, valid?

Constructor Details

This class inherits a constructor from Scimitar::Schema::Base

Class Method Details

.scim_attributesObject



12
13
14
15
16
17
18
19
# File 'app/models/scimitar/schema/x509_certificate.rb', line 12

def self.scim_attributes
  @scim_attributes ||= [
    Attribute.new(name: 'value',   type: 'binary', required: true),
    Attribute.new(name: 'display', type: 'string', mutability: 'readOnly'),
    Attribute.new(name: 'type',    type: 'string'),
    Attribute.new(name: 'primary', type: 'boolean'),
  ]
end