Class ClientAuthorization

java.lang.Object
com.linecorp.armeria.common.auth.oauth2.ClientAuthorization

@Deprecated public final class ClientAuthorization extends Object
Deprecated.
Provides client authorization for the OAuth 2.0 requests, as per [RFC6749], Section 2.3. For example:

 Authorization: Basic czZCaGRSa3F0Mzo3RmpmcDBaQnIxS3REUmJuZlZkbUl3
 
Fetches authorization source from the designated authorization or credentials supplier, which might be facilitated by a secure Secret provider. Will fetch the authorization source for each request. Therefore the designated supplier must cache the value in order to avoid unnecessary network hops. The authorization source might either provide complete authorization token or client credentials.