Sha256: e316c2a17d32a938eb7b852ea13c0883c25c11bc85f1f670f76518bb2112982e
Contents?: true
Size: 998 Bytes
Versions: 2
Compression:
Stored size: 998 Bytes
Contents
# frozen_string_literal: true require 'graphql' module Osso module GraphQL module Types class IdentityProvider < Types::BaseObject description 'Represents a SAML based IDP instance for an EnterpriseAccount' implements ::GraphQL::Types::Relay::Node global_id_field :gid field :id, ID, null: false field :enterprise_account_id, ID, null: false field :service, Types::IdentityProviderService, null: true field :domain, String, null: false field :acs_url, String, null: false field :sso_url, String, null: true field :sso_cert, String, null: true field :configured, Boolean, null: false def service @object.provider end def configured @object.idp_sso_target_url && @object.idp_cert end def sso_cert @object.idp_cert end def sso_url @object.idp_sso_target_url end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
osso-0.0.3.5 | lib/osso/graphql/types/identity_provider.rb |
osso-0.0.3.4 | lib/osso/graphql/types/identity_provider.rb |