SPTAuthorizationOptions Constants Reference
Declared in | SPTSessionManager.h |
---|
SPTAuthorizationOptions
Options for determining the most suitable method for authorization
Definition
typedef NS_OPTIONS(NSUInteger, SPTAuthorizationOptions ) {
SPTDefaultAuthorizationOption = ( 0 ),
SPTClientAuthorizationOption = ( 1 < < 0 ),
SPTSpotifySchemeNotRegisteredAuthorizationOption = ( 1 < < 1 ),
};
Constants
SPTDefaultAuthorizationOption
-
Authorize using a suitable method. If Spotify is installed the app will be used instead of ASWebAuthentication.
Declared In
SPTSessionManager.h
. SPTClientAuthorizationOption
-
Authorize using only the Spotify client. If Spotify is not installed authorization will fail.
Declared In
SPTSessionManager.h
. SPTSpotifySchemeNotRegisteredAuthorizationOption
-
Use this option if you have reached the limit of
LSApplicationQueriesSchemes
in your Info.plist Attempt to open Spotify app directly without usingcanOpenURL
. Falls back to ASWebAuthentication if opening fails.Declared In
SPTSessionManager.h
.
Declared In
SPTSessionManager.h