# This file is the input for generating the list of preferences
# for pc_opera_account.cpp and pc_opera_account.h.
#
# For information on how to add or modify a preference, please
# refer to the module documentation.
#
# Preferences cannot depend directly on FEATUREs, they must depend
# on the macro they define.
#
Collection:  PrefsCollectionOperaAccount
Macro name:  PCOPERA_ACCOUNT
Description: Opera account settings
Type:        normal

Preference:  OperaAccountUsed
Depends on:
Section:     Opera Account
Key:         Opera Account Used
Type:        boolean
Description: Indicates whether the Opera account has been used
Default:     FALSE

Preference:  ServerAddress
Depends on:
Section:     Opera Account
Key:         Server Address
Type:        string
Description: Server Address
Default:     DEFAULT_OPERA_AUTH_SERVER

Preference:  ComputerID
Depends on:  WEBSERVER_SUPPORT
Section:     Opera Account
Key:         Computer ID
Type:        string
Description: Unique computer id
Default:     ""

Preference:  Username
Depends on:  
Section:     Opera Account
Key:         Username
Type:        string
Description: Username for the currently logged on my.opera user
Default:     ""

Preference:  SavePassword
Depends on:
Section:     Opera Account
Key:         Save Password
Type:        boolean
Description: Save password for opera account
Default:     TRUE

Preference:  OAuthOperaAccountConsumerKey
Depends on:  OPERA_AUTH_SUPPORT
Section:     Opera Account
Key:         OAuth Consumer Key
Type:        string
Description: Non secret oauth consumer key for Opera Account login.
Default:     OAUTH_OPERA_ACCOUNT_CONSUMER_KEY_DEFAULT

Preference:  OAuthOperaAccountConsumerSecret
Depends on:  OPERA_AUTH_SUPPORT
Section:     Opera Account
Key:         OAuth Consumer Secret
Type:        string
Description: Non secret oauth consumer secret for Opera Account login.
Default:     OAUTH_OPERA_ACCOUNT_CONSUMER_SECRET_DEFAULT

Preference:  OAuthOperaAccountAccessTokenURI
Depends on:  OPERA_AUTH_SUPPORT
Section:     Opera Account
Key:         OAuth access token URI
Type:        string
Description: URI for downloading the Oauth token.
Default:     OAUTH_OPERA_ACCOUNT_ACCESS_TOKEN_URI_DEFAULT

.eof
