Sha256: ef608dab5c9cadec215209dfeaf332c5173b6c9a7525c067e4581d4e2a0068ff
Contents?: true
Size: 550 Bytes
Versions: 1
Compression:
Stored size: 550 Bytes
Contents
require 'omniauth-spotify' module Chronicle module Spotify class Authorizer < Chronicle::ETL::OauthAuthorizer provider :spotify omniauth_strategy :spotify scope 'user-read-recently-played playlist-read-private playlist-read-collaborative user-read-private user-read-email user-library-read' pluck_secrets({ access_token: [:credentials, :token], refresh_token: [:credentials, :refresh_token], uid: [:uid], name: [:info, :name], email: [:info, :email], }) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chronicle-spotify-0.1.0 | lib/chronicle/spotify/authorizer.rb |