Sha256: db3159c22bdd99a2125ae5ee069bd6264683cdf7d3ed4f6d1fee55fe394561eb

Contents?: true

Size: 751 Bytes

Versions: 9

Compression:

Stored size: 751 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[jwks 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

9 entries across 9 versions & 1 rubygems

Version Path
rodauth-oauth-0.10.4 templates/oauth_application.str
rodauth-oauth-0.10.3 templates/oauth_application.str
rodauth-oauth-0.10.2 templates/oauth_application.str
rodauth-oauth-0.10.1 templates/oauth_application.str
rodauth-oauth-0.10.0 templates/oauth_application.str
rodauth-oauth-0.9.3 templates/oauth_application.str
rodauth-oauth-0.9.2 templates/oauth_application.str
rodauth-oauth-0.9.1 templates/oauth_application.str
rodauth-oauth-0.9.0 templates/oauth_application.str