Click or drag to resize

AuthenticatorGetAuthToken Method (String, String, String, IPAddress, Int32, TimeSpan, Int32, DateTime)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Retrieves an authentication token from the GeoStream server.

Namespace:  Telogis.GeoBase.Authentication
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static Guid GetAuthToken(
	string server,
	string username,
	string password,
	IPAddress client,
	int mask,
	TimeSpan expiry,
	out int servermask,
	out DateTime serverexpiry
)

Parameters

server
Type: SystemString
The address of the GeoStream web server.
username
Type: SystemString
The client's user name.
password
Type: SystemString
The client's password.
client
Type: System.NetIPAddress
The client's IP address.
mask
Type: SystemInt32
The client's IP mask.
expiry
Type: SystemTimeSpan
The relative time remaining until the token expires.
servermask
Type: SystemInt32
The server's IP mask.
serverexpiry
Type: SystemDateTime
The server's absolute expiration date and time.

Return Value

Type: Guid
The authentication token resulting from the method.
See Also