Interface Credentials

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    DefaultCredentials

    public interface Credentials
    extends java.io.Serializable
    This interface represents the credentials passed to Pravega for authentication and authorizing the access. All implementations must support Java serialization.
    • Method Detail

      • getAuthenticationType

        java.lang.String getAuthenticationType()
        Returns the authentication type. Pravega can support multiple authentication types in a single deployment.
        Returns:
        the authentication type expected by the these credentials.
      • getAuthenticationToken

        java.lang.String getAuthenticationToken()
        Returns the authorization token to be sent to Pravega.
        Returns:
        A token in token68-compatible format (as defined by RFC 7235).