Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

3.1. Customize the AccountAuthenticator

kalemontes edited this page Mar 3, 2016 · 1 revision

TODO

OIDC AccountAuthenticator

You should provide your own account type identifier. Copy the res/values/identifiers.xml to your app module values directory and modify the account_authenticator_typestring value. Usually this identifier is a unique name to identify your account type. I encourage you to use your app package name as part of this identifier, for instance <string name="account_authenticator_type">com.my_company.my_app_package.account</string>.

You can also provide the label that will be display when user access to the accounts settings. Change the value of account_authenticator_label string, for instance <string name="account_authenticator_label">My Android App</string>.

Finally you can also change the logo that will be display when user access to the account settings be providing the following drawables : res/drawable*/ic_account_authenticator.png and res/drawable*/ic_small_account_authenticator.png in your app module.

Note : If the ressources mention above are not provided, the default values will be used.