Sha256: 1c7dd363f7faa8c256a0ea44a83131e2e204b02b69a308e765d2aba720cb39f6

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

=begin
#Ory APIs

#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. 

The version of the OpenAPI document: v1.5.0
Contact: support@ory.sh
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.1

=end

require 'spec_helper'
require 'json'

# Unit tests for OryClient::WellknownApi
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'WellknownApi' do
  before do
    # run before each test
    @api_instance = OryClient::WellknownApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of WellknownApi' do
    it 'should create an instance of WellknownApi' do
      expect(@api_instance).to be_instance_of(OryClient::WellknownApi)
    end
  end

  # unit tests for discover_json_web_keys
  # Discover Well-Known JSON Web Keys
  # This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and, if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like [node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others.
  # @param [Hash] opts the optional parameters
  # @return [JsonWebKeySet]
  describe 'discover_json_web_keys test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ory-client-1.5.0 spec/api/wellknown_api_spec.rb