Sha256: aba1ff29c89b8bd1bab2cfdf5a342eca42ab9474e647714ead6f74f9b966866c

Contents?: true

Size: 1.65 KB

Versions: 1

Compression:

Stored size: 1.65 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.14.5
Contact: support@ory.sh
Generated by: https://openapi-generator.tech
Generator version: 7.7.0

=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.  Adding custom keys requires first creating a keyset via the createJsonWebKeySet operation, and then configuring the webfinger.jwks.broadcast_keys configuration value to include the keyset name.
  # @param [Hash] opts the optional parameters
  # @return [JsonWebKeySet]
  describe 'discover_json_web_keys test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

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