Interface IKeyMasterFormatter

  • All Known Implementing Classes:
    StandardFormatter

    public interface IKeyMasterFormatter
    Represents the interface used to format a KeyMaster tokens appropriately for the StreamLink application that is requesting it. If the formatters provided with KeyMaster are not suitable for your KeyMaster deployment, implement this interface to provide a custom formatter.
    • Method Detail

      • format

        java.lang.String format​(IAuthenticationParameters authParams,
                                java.lang.String token)
        Formats the supplied token, including any additional information supplied by IAuthenticationParameters
        Parameters:
        authParams - Additional information that may be required by the formatter.
        token - The token to be formatted.
        Returns:
        A string defining the token in a format that can be used by the StreamLink application requesting it.