Sha256: 83fe918e7b79358e11e0c5c9a28756902b8ad9cb7ee32cf36e6b546e560df15a

Contents?: true

Size: 1.61 KB

Versions: 9

Compression:

Stored size: 1.61 KB

Contents

<% oauth_application = rodauth.scope.instance_variable_get(:@oauth_application) %>
<div>
  <h2><%= oauth_application[rodauth.oauth_applications_name_column] %></h2>

  <dl>
    <dt><%= rodauth.oauth_applications_description_label %>: </dt>
    <dd><%= oauth_application[rodauth.oauth_applications_description_column] %></dd>
    <dt><%= rodauth.oauth_applications_homepage_url_label %>: </dt>
    <dd><%= oauth_application[rodauth.oauth_applications_homepage_url_column] %></dd>
    <dt><%= rodauth.oauth_applications_client_id_label %>: </dt>
    <dd><%= oauth_application[rodauth.oauth_applications_client_id_column] %></dd>
    <dt><%= rodauth.oauth_applications_redirect_uri_label %>: </dt>
    <dd><%= oauth_application[rodauth.oauth_applications_redirect_uri_column] %></dd>
    <dt><%= rodauth.oauth_applications_scopes_label %>: </dt>
    <dd><%= oauth_application[rodauth.oauth_applications_scopes_column] %></dd>
    <% if rodauth.features.include?(:oauth_jwt) %>
      <% if oauth_application[rodauth.oauth_applications_jwks_column] %>
        <dt><%= rodauth.oauth_applications_jwks_label %>: </dt>
        <dd><%= oauth_application[rodauth.oauth_applications_jwks_column] %></dd>
      <% end %>
      <% if oauth_application[rodauth.oauth_applications_jwks_uri_column] %>
        <dt><%= rodauth.oauth_applications_jwks_uri_label %>: </dt>
        <dd><%= oauth_application[rodauth.oauth_applications_jwks_uri_column] %></dd>
      <% end %>
      <dt><%= rodauth.oauth_applications_jwt_public_key_label %>: </dt>
      <dd><%= oauth_application[rodauth.oauth_applications_jwt_public_key_column] %></dd>
    <% end %>
  </dl>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rodauth-oauth-0.10.4 lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_application.html.erb
rodauth-oauth-0.10.3 lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_application.html.erb
rodauth-oauth-0.10.2 lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_application.html.erb
rodauth-oauth-0.10.1 lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_application.html.erb
rodauth-oauth-0.10.0 lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_application.html.erb
rodauth-oauth-0.9.3 lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_application.html.erb
rodauth-oauth-0.9.2 lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_application.html.erb
rodauth-oauth-0.9.1 lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_application.html.erb
rodauth-oauth-0.9.0 lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_application.html.erb