mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-27 00:03:22 +01:00
32 lines
946 B
Java
32 lines
946 B
Java
package org.apache.http.auth;
|
|
|
|
import org.apache.http.annotation.Contract;
|
|
import org.apache.http.annotation.ThreadingBehavior;
|
|
import org.apache.http.util.Args;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Contract(threading = ThreadingBehavior.IMMUTABLE)
|
|
/* loaded from: classes11.dex */
|
|
public final class AuthOption {
|
|
private final AuthScheme authScheme;
|
|
private final Credentials creds;
|
|
|
|
public AuthOption(AuthScheme authScheme, Credentials credentials) {
|
|
Args.notNull(authScheme, "Auth scheme");
|
|
Args.notNull(credentials, "User credentials");
|
|
this.authScheme = authScheme;
|
|
this.creds = credentials;
|
|
}
|
|
|
|
public AuthScheme getAuthScheme() {
|
|
return this.authScheme;
|
|
}
|
|
|
|
public Credentials getCredentials() {
|
|
return this.creds;
|
|
}
|
|
|
|
public String toString() {
|
|
return this.authScheme.toString();
|
|
}
|
|
}
|