Sha256: dfc6b0381bee7593b0892194407b7c288afa9d63f06b5a03ead7569062470c76

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 KB

Contents

<% add_decidim_page_title(@oauth_application.name) %>

<div class="card">
  <div class="card-divider">
    <h2 class="card-title"><%= @oauth_application.name %></h2>
  </div>
  <div class="card-section">
    <dl>
      <%= display_for @oauth_application,
            { uid: :client_id },
            { secret: :client_secret },
            :organization_name,
            :organization_url,
            :redirect_uri %>

      <dt><%= display_label(@oauth_application, :authorize_url) %></dt>
      <dd><%= decidim.oauth_authorization_url(host: @oauth_application.owner.host) %></dd>

      <dt><%= display_label(@oauth_application, :site) %></dt>
      <dd><%= decidim.root_url(host: @oauth_application.owner.host) %></dd>

      <dt><%= display_label(@oauth_application, :authorized_tokens) %></dt>
      <dd><%= @oauth_application.authorized_tokens.count %></dd>

      <dt><%= display_label(@oauth_application, :authorization_url) %></dt>
      <dd><%= decidim.oauth_authorization_url(host: @oauth_application.owner.host, client_id: @oauth_application.uid, redirect_uri: @oauth_application.redirect_uri, response_type: "code") %></dd>
    </dl>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-system-0.27.9 app/views/decidim/system/oauth_applications/show.html.erb
decidim-system-0.27.8 app/views/decidim/system/oauth_applications/show.html.erb
decidim-system-0.27.7 app/views/decidim/system/oauth_applications/show.html.erb
decidim-system-0.27.6 app/views/decidim/system/oauth_applications/show.html.erb
decidim-system-0.26.10 app/views/decidim/system/oauth_applications/show.html.erb
decidim-system-0.26.9 app/views/decidim/system/oauth_applications/show.html.erb
decidim-system-0.27.5 app/views/decidim/system/oauth_applications/show.html.erb