Sha256: a790a66f86aaff635f6c71b9d1101e686a080dad4cfa7d9d098fe7caa7a05b20
Contents?: true
Size: 699 Bytes
Versions: 2
Compression:
Stored size: 699 Bytes
Contents
module SwaggerUiEngine module OauthConfigParser def set_oauth_app_name configuration.oauth_app_name || 'your-app-name' end def set_oauth_client_id configuration.oauth_client_id || 'your-client-id' end def set_oauth_client_secret configuration.oauth_client_secret || 'your-client-secret-if-required' end def set_oauth_realm configuration.oauth_realm || 'your-realms' end def set_oauth_scope_separator configuration.oauth_scope_separator || ' ' end def set_oauth_query_string_params configuration.oauth_query_string_params || {} end def configuration SwaggerUiEngine.configuration end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
swagger_ui_engine-1.0.2 | app/helpers/swagger_ui_engine/oauth_config_parser.rb |
swagger_ui_engine-1.0.1 | app/helpers/swagger_ui_engine/oauth_config_parser.rb |