Sha256: f1d183a0e79df7d8105ad5d0024c53e558f1c9ee4f70e5c7c7dc372d978a20c9

Contents?: true

Size: 754 Bytes

Versions: 1

Compression:

Stored size: 754 Bytes

Contents

<div id="oauth-application">
  <dl>
    #{
      params = [*rodauth.oauth_application_required_params, "client_id", "client_secret"]
      if rodauth.features.include?(:oauth_jwt)
        params += %w[jws_jwk jwt_public_key]
      end
      params.map do |param|
        "<dt class=\"#{param}\">#{rodauth.send(:"oauth_applications_#{param}_label")}: </dt>" +
        "<dd class=\"#{param}\">#{@oauth_application[rodauth.send(:"oauth_applications_#{param}_column")]}</dd>"
      end.join
    }
  </dl>
  <a href="#{rodauth.oauth_applications_path}/#{@oauth_application[rodauth.oauth_applications_id_column]}/#{rodauth.oauth_applications_oauth_tokens_path}" class="btn btn-outline-secondary">#{rodauth.oauth_application_oauth_tokens_page_title}</a>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rodauth-oauth-0.8.0 templates/oauth_application.str