Interface StaticBearerCredentials

All Superinterfaces:
ChannelCredentials

public interface StaticBearerCredentials extends ChannelCredentials
This object is required for channels which use a bearer-type of credential for authentication.
  • Method Details

    • getClaimedIdentity

      String getClaimedIdentity()
      The claimed identity for the channel.
      Returns:
      claimedIdentity
    • getToken

      String getToken()
      The static bearer token for the channel.
      Returns:
      token
    • builder

      Getting builder
      Returns:
      New Builder instance