NAME
Mojolicious::Plugin::Web::Auth::Site::Spotify - Spotify OAuth Plugin for
Mojolicious::Plugin::Web::Auth
VERSION
version 0.000001
SYNOPSIS
# Mojolicious
$self->plugin('Web::Auth',
module => 'Spotify',
key => 'Spotify consumer key',
secret => 'Spotify consumer secret',
on_finished => sub {
my ( $c, $access_token, $access_secret ) = @_;
...
},
);
# Mojolicious::Lite
plugin 'Web::Auth',
module => 'Spotify',
key => 'Spotify consumer key',
secret => 'Spotify consumer secret',
on_finished => sub {
my ( $c, $access_token, $access_secret ) = @_;
...
};
# default authentication endpoint: /auth/spotify/authenticate
# default callback endpoint: /auth/spotify/callback
DESCRIPTION
This module adds Spotify
support to Mojolicious::Plugin::Web::Auth.
AUTHOR
Olaf Alders
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Olaf Alders.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.