Sha256: 7f75a9be79a2e115267c68634143f2b7f9846e4d1e26464d7b9b1eec2904e60b

Contents?: true

Size: 493 Bytes

Versions: 139

Compression:

Stored size: 493 Bytes

Contents

<div class="container">
  <pre>
    <p>// app/lib/services/authorization/get_authorization_uri.rb - Generate URL for OAuth</p>

    <p>::Hubspot::OAuthHelper.authorize_url(</p>
    <p>  client_id: 'client_id',</p>
    <p>  redirect_uri: redirect_uri,</p>
    <p>  scope: %w[contacts]</p>
    <p>)</p>
  </pre>
  <h3 class="text-center">In order to continue please authorize via OAuth</h3>
  <div class="row authorize-button">
      <a class="button" href="/oauth">Authorize</a>
  </div>
</div>

Version data entries

139 entries across 21 versions & 1 rubygems

Version Path
hubspot-api-client-9.0.0 sample-apps/companies-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-9.0.0 sample-apps/contacts-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-9.0.0 sample-apps/rate-limits-redis-sample-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-9.0.0 sample-apps/oauth-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-9.0.0 sample-apps/leaky-bucket-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-9.0.0 sample-apps/retry-middleware-sample-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-9.0.0 sample-apps/timeline-events-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.1 sample-apps/oauth-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.1 sample-apps/rate-limits-redis-sample-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.1 sample-apps/companies-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.1 sample-apps/retry-middleware-sample-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.1 sample-apps/timeline-events-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.1 sample-apps/contacts-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.1 sample-apps/leaky-bucket-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.0 sample-apps/rate-limits-redis-sample-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.0 sample-apps/retry-middleware-sample-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.0 sample-apps/leaky-bucket-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.0 sample-apps/companies-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.0 sample-apps/oauth-app/app/views/oauth/authorization/login.html.erb
hubspot-api-client-8.0.0 sample-apps/timeline-events-app/app/views/oauth/authorization/login.html.erb