메소드 | 설명 | |
---|---|---|
ClientContext ( |
Initializes a new instance of the ClientContext class. The context is not fully initialized and usable until the authentication cycle has been completed.
|
|
Init ( byte serverToken, byte &outToken ) : SecurityStatus |
Performs and continues the authentication cycle. This method is performed iteratively to start, continue, and end the authentication cycle with the server. Each stage works by acquiring a token from one side, presenting it to the other side which in turn may generate a new token. The cycle typically starts and ends with the client. On the first invocation on the client, no server token exists, and null is provided in its place. The client returns its status, providing its output token for the server. The server accepts the clients token as input and provides a token as output to send back to the client. This cycle continues until the server and client both indicate, typically, a SecurityStatus of 'OK'. |
public ClientContext ( |
||
cred | The security credential to authenticate as. | |
serverPrinc | string | The principle name of the server to connect to, or null for any. |
requestedAttribs | ContextAttrib | Requested attributes that describe the desired properties of the /// context once it is established. If a context cannot be established that satisfies the indicated /// properties, the context initialization is aborted. |
리턴 | System |
public Init ( byte serverToken, byte &outToken ) : SecurityStatus | ||
serverToken | byte | The most recently received token from the server, or null if beginning /// the authentication cycle. |
outToken | byte | The clients next authentication token in the authentication cycle. |
리턴 | SecurityStatus |