public class BasicChallangeHandler extends Object
| Constructor and Description |
|---|
BasicChallangeHandler(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 |
handleChallange(okhttp3.Request.Builder builder)
Handle the challange
|
public BasicChallangeHandler(IAuthorizationContext context)
public boolean canHandle(okhttp3.Headers headers)
headers - the headerspublic okhttp3.Request.Builder handleChallange(okhttp3.Request.Builder builder)
Copyright © 2019 Red Hat, Inc. All Rights Reserved.