Sha256: 10c94f327ab77ac0cac5d2fd2e3a74f16781ef4a88c6efd6985e0b29e498ee4a
Contents?: true
Size: 1.95 KB
Versions: 1
Compression:
Stored size: 1.95 KB
Contents
# Zilla::WellKnownApi All URIs are relative to *http://localhost* | Method | HTTP request | Description | | ------ | ------------ | ----------- | | [**get_service_account_issuer_open_id_configuration**](WellKnownApi.md#get_service_account_issuer_open_id_configuration) | **GET** /.well-known/openid-configuration/ | | ## get_service_account_issuer_open_id_configuration > String get_service_account_issuer_open_id_configuration get service account issuer OpenID configuration, also known as the 'OIDC discovery doc' ### Examples ```ruby require 'time' require 'zilla' # setup authorization Zilla.configure do |config| # Configure API key authorization: BearerToken config.api_key['BearerToken'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) # config.api_key_prefix['BearerToken'] = 'Bearer' end api_instance = Zilla::WellKnownApi.new begin result = api_instance.get_service_account_issuer_open_id_configuration p result rescue Zilla::ApiError => e puts "Error when calling WellKnownApi->get_service_account_issuer_open_id_configuration: #{e}" end ``` #### Using the get_service_account_issuer_open_id_configuration_with_http_info variant This returns an Array which contains the response data, status code and headers. > <Array(String, Integer, Hash)> get_service_account_issuer_open_id_configuration_with_http_info ```ruby begin data, status_code, headers = api_instance.get_service_account_issuer_open_id_configuration_with_http_info p status_code # => 2xx p headers # => { ... } p data # => String rescue Zilla::ApiError => e puts "Error when calling WellKnownApi->get_service_account_issuer_open_id_configuration_with_http_info: #{e}" end ``` ### Parameters This endpoint does not need any parameter. ### Return type **String** ### Authorization [BearerToken](../README.md#BearerToken) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zilla-0.2.0 | docs/WellKnownApi.md |