LoginManagerLogin Method (String, ILoginModule)

ScaleOut Software NamedCache API
Performs a login for the supplied NamedCache name using the specified ILoginModule implementation.

Namespace:  Soss.Client
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.1.0.0
Syntax

public void Login(
	string cacheName,
	ILoginModule loginModule
)

Parameters

cacheName
Type: SystemString
String identifier of the associated named cache.
loginModule
Type: Soss.ClientILoginModule
A custom ILoginModule implementation used to generate credentials.
Exceptions

ExceptionCondition
NotAuthorizedExceptionThrown if the login is rejected by the server.
AuthorizationNotNeededExceptionThrown if the login was performed on a cache that does not require authorization.
ArgumentOutOfRangeExceptionThrown if credentials supplied by the ILoginModule implementation (via GetEncodedCredentials(String)) are zero-length or exceed 4096 bytes.
See Also

Reference