Class StandardFormatter

    • Constructor Detail

      • StandardFormatter

        public StandardFormatter()
    • Method Detail

      • format

        public java.lang.String format​(IAuthenticationParameters authParams,
                                       java.lang.String token)
        Description copied from interface: IKeyMasterFormatter
        Formats the supplied token, including any additional information supplied by IAuthenticationParameters
        Specified by:
        format in interface IKeyMasterFormatter
        authParams - Additional information that may be required by the formatter.
        token - The token to be formatted.
        A string defining the token in a format that can be used by the StreamLink application that requested it.
      • formatError

        public java.lang.String formatError​(java.lang.String error)