Add branding to Pocket Pass
PhenixID Pocket Pass comes with branding capabilities. This will describe enabling this feature.
Configuring
Configure by entering the URL to the Pocket Pass settings file. Note that this URL must be reachable by Pocket Pass clients at time of activation.
Settings data format
The settings file is in json format.
An example:
{
"image_background_portrait":"http://www.company.com/portrait.jpg",
"image_background_landscape":"http://www.company.com/landscape.jpg",
"color_text":"#ffffffff",
"color_text_shadow":"#ff444444",
"color_timebar":"#ffffffff",
"color_timebar_background":"#ff333333",
"color_button_text":"#ff000000",
"color_button_background":"#ffffffff"
}
Images
Images must be exactly the size specified below, and in jpeg or png format. Jpeg is probably the best choice due to its smaller size.
Colors
The format of all colors must be #aarrggbb. The aa (alpha-value) of the color is preferably set to ff.
Description of the parameters:
image_background_portrait - required
The background image used in portrait mode. The image size must be 720x1280 pixels.
image_background_landscape - required
The background image used in landscape mode. The image size must be 1280x720 pixels.
color_text - required
The color of the one-time password text.
color_text_shadow - required
The color of the one-time password text shadow.
color_timebar - required
The color of the one-time password time bar (When using time-based one-time passwords).
color_timebar_background - required
The background color of the one-time password time bar.
color_button_text - required
The color of the one-time password button text (When using counter-based one-time passwords).
color_button_background - required
The background color of the one-time password button text.
Testing
PhenixID provides a static template online. To use it use the URL: https://download.phenixid.se/pocketpass/profile/settings.json