Module firebase_token_account

Loads service account details from file or from a string.

Copyright © 2016 Ruel Pagayon

Version: 1.1.0

Authors: ruel@ruel.me.

Description

Loads service account details from file or from a string. Service account can be retrieved from Google API Management Console

Function Index

load/1Creates a service account instance from JSON string input.
load_from_file/1Creates a service account instance from JSON key file.

Function Details

load/1

load(Content::binary() | string()) -> map() | {error, invalid_account}

Creates a service account instance from JSON string input

load_from_file/1

load_from_file(Path::string()) -> map() | {error, invalid_account}

Creates a service account instance from JSON key file


Generated by EDoc, Oct 2 2016, 12:38:57.