public class BasicChallengeHandler extends Object
| Constructor and Description |
|---|
BasicChallengeHandler(IAuthorizationContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(okhttp3.Headers headers)
Is able to handle a challange given the auth mechanism provided in the header
|
okhttp3.Request.Builder |
handleChallenge(okhttp3.Request.Builder builder)
Handle the challange
|
public BasicChallengeHandler(IAuthorizationContext context)
public boolean canHandle(okhttp3.Headers headers)
headers - the headerspublic okhttp3.Request.Builder handleChallenge(okhttp3.Request.Builder builder)
Copyright © 2020 Red Hat, Inc. All Rights Reserved.