Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 484 Bytes

TokenGenerator.md

File metadata and controls

13 lines (11 loc) · 484 Bytes

TokenGenerator

An alexaforce__Token_Provider__mdt of type alexaforce__APEX_Token_Generator__c should be implemented as shown in the sample below. The resulting string will be used as a Bearer Authorization header.

Example:

public class DevToken extends alexaforce.TokenGenerator {
    public override String generateToken() {
        return 'dummy token';
    }
}

picture alt