Package | com.kaazing.gateway.client.security |
Class | public class ChallengeResponse |
Property | Defined by | ||
---|---|---|---|
credentials : ByteArray
Return a set of credentials to send to the server in an 'Authorization:' header.
| ChallengeResponse | ||
nextChallengeHandler : ChallengeHandler | ChallengeResponse |
Method | Defined by | ||
---|---|---|---|
ChallengeResponse(credentials:ByteArray, nextChallengeHandler:ChallengeHandler)
Constructor from a set of credentials to send to the server in an 'Authorization:' header
and the next challenge handler responsible for handling any further authentication challenges for the request.
| ChallengeResponse | ||
clearCredentials():void
Clear the credentials of this response.
| ChallengeResponse | ||
getCredentials():ByteArray
Return a set of credentials to send to the server in an 'Authorization:' header.
| ChallengeResponse | ||
Return the next challenge handler responsible for handling any further authentication challenges for the request.
| ChallengeResponse | ||
setCredentials(credentials:ByteArray):void
Establish the credentials for this response.
| ChallengeResponse | ||
setNextChallengeHandler(nextChallengeHandler:ChallengeHandler):void
Establish the next challenge handler responsible for handling any further authentication challenges for the request.
| ChallengeResponse |
credentials | property |
credentials:ByteArray
[read-write]Return a set of credentials to send to the server in an 'Authorization:' header.
Implementation public function get credentials():ByteArray
public function set credentials(value:ByteArray):void
nextChallengeHandler | property |
nextChallengeHandler:ChallengeHandler
[read-write]Implementation
public function get nextChallengeHandler():ChallengeHandler
public function set nextChallengeHandler(value:ChallengeHandler):void
ChallengeResponse | () | constructor |
public function ChallengeResponse(credentials:ByteArray, nextChallengeHandler:ChallengeHandler)
Constructor from a set of credentials to send to the server in an 'Authorization:' header and the next challenge handler responsible for handling any further authentication challenges for the request.
Parameterscredentials:ByteArray — a set of credentials to send to the server in an 'Authorization:' header
|
|
nextChallengeHandler:ChallengeHandler — the next challenge handler responsible for handling any further authentication challenges for the request.
|
clearCredentials | () | method |
public function clearCredentials():void
Clear the credentials of this response.
Calling this method once the credentials have been communicated to the network layer protects credentials in memory.
getCredentials | () | method |
public function getCredentials():ByteArray
Return a set of credentials to send to the server in an 'Authorization:' header.
ReturnsByteArray — a set of credentials to send to the server in an 'Authorization:' header.
|
getNextChallengeHandler | () | method |
public function getNextChallengeHandler():ChallengeHandler
Return the next challenge handler responsible for handling any further authentication challenges for the request.
ReturnsChallengeHandler —
the next challenge handler responsible for handling any further authentication challenges for the request.
|
setCredentials | () | method |
public function setCredentials(credentials:ByteArray):void
Establish the credentials for this response.
Parameterscredentials:ByteArray — the credentials to be used for this challenge response.
|
setNextChallengeHandler | () | method |
public function setNextChallengeHandler(nextChallengeHandler:ChallengeHandler):void
Establish the next challenge handler responsible for handling any further authentication challenges for the request.
ParametersnextChallengeHandler:ChallengeHandler — the next challenge handler responsible for handling any further authentication challenges for the request.
|