public class AuthenticationChallenge extends Object
Constructor and Description |
---|
AuthenticationChallenge(String mechanism)
Create a new
AuthenticationChallenge with the given mechanism. |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getArguments()
Retrieves the arguments of the challenge.
|
String |
getMechanism()
Retrieves the authentication mechanism specified by this challenge, for
instance "Basic".
|
String |
getToken()
Retrieves the token of the challenge, if any.
|
String |
toString() |
public AuthenticationChallenge(String mechanism)
AuthenticationChallenge
with the given mechanism.mechanism
- for the challengepublic String getMechanism()
public String getToken()
null
if there is none.@NonNull public Map<String,String> getArguments()
Copyright © 2020 Eclipse JGit Project. All rights reserved.