Sha256: c4297e2662b730a75e97451e05563ea4aadbbba93af9f0f70a57921b125025ba

Contents?: true

Size: 479 Bytes

Versions: 27

Compression:

Stored size: 479 Bytes

Contents

<script>
var qp = null;
if(/code|token|error/.test(window.location.hash)) {
  qp = location.hash.substring(1);
}
else {
  qp = location.search.substring(1);
}
qp = qp ? JSON.parse('{"' + qp.replace(/&/g, '","').replace(/=/g,'":"') + '"}',
  function(key, value) {
    return key===""?value:decodeURIComponent(value) }
  ):{}

if (window.opener.swaggerUiAuth.tokenUrl)
    window.opener.processOAuthCode(qp);
else
    window.opener.onOAuthComplete(qp);

window.close();
</script>

Version data entries

27 entries across 27 versions & 4 rubygems

Version Path
swagger_ui_engine_rails7-1.2.5 app/views/swagger_ui_engine_rails7/swagger_docs/oauth2.html.erb
swagger_ui_engine_rails7-1.2.4 app/views/swagger_ui_engine_rails7/swagger_docs/oauth2.html.erb
swagger_ui_engine_rails7-1.2.3 app/views/swagger_ui_engine/swagger_docs/oauth2.html.erb
swagger_ui_engine_rails7-1.2.1 app/views/swagger_ui_engine/swagger_docs/oauth2.html.erb
swagger_ui_engine-1.1.3 app/views/swagger_ui_engine/swagger_docs/oauth2.html.erb
mollie-api-ruby-3.1.5 examples/public/o2c.html
swagger_ui_engine-1.1.2 app/views/swagger_ui_engine/swagger_docs/oauth2.html.erb
mollie-api-ruby-3.1.4 examples/public/o2c.html
mollie-api-ruby-3.1.4.pre.beta examples/public/o2c.html
mollie-api-ruby-3.1.3 examples/public/o2c.html
mollie-api-ruby-3.1.2 examples/public/o2c.html
swagger_ui_engine-1.1.1 app/views/swagger_ui_engine/swagger_docs/oauth2.html.erb
mollie-api-ruby-3.1.1 examples/public/o2c.html
mollie-api-ruby-3.1.0 examples/public/o2c.html
mollie-api-ruby-2.2.1 examples/public/o2c.html
swagger_ui_engine-1.1.0 app/views/swagger_ui_engine/swagger_docs/oauth2.html.erb
swagger_ui_engine-1.0.2 app/views/swagger_ui_engine/docs/ouath2.html.erb
swagger_ui_engine-1.0.1 app/views/swagger_ui_engine/docs/ouath2.html.erb
swagger_ui_engine-1.0.0 app/assets/javascripts/swagger_ui_engine/o2c.html
swagger_ui_engine-0.0.5 app/assets/javascripts/swagger_ui_engine/o2c.html