Welcome to mirror list, hosted at ThFree Co, Russian Federation.

x509_issuer_type.rb « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a5759e48ee0c10a12aae21ff691777b9e9c2c233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# frozen_string_literal: true

# rubocop:disable Graphql/AuthorizeTypes

module Types
  class X509IssuerType < Types::BaseObject
    graphql_name 'X509Issuer'
    description 'Issuer of an X.509 certificate.'

    field :created_at, Types::TimeType, null: true,
                                        description: 'Timestamp of when the issuer was created.'

    field :crl_url, GraphQL::Types::String, null: true,
                                            description: 'Certificate revokation list of the issuer.'

    field :id, GraphQL::Types::ID, null: true, description: 'ID of the issuer.'

    field :subject, GraphQL::Types::String, null: true, description: 'Subject of the issuer.'

    field :subject_key_identifier, GraphQL::Types::String,
                                   null: true,
                                   description: 'Subject key identifier of the issuer.'

    field :updated_at, Types::TimeType, null: true,
                                        description: 'Timestamp of when the issuer was last updated.'
  end
end

# rubocop:enable Graphql/AuthorizeTypes