M10Directory constructor
M10Directory(
- String host, {
- TokenProvider? tokenProvider,
- bool disableTls = false,
- int port = 443,
Implementation
M10Directory(
String host, {
TokenProvider? tokenProvider,
bool disableTls = false,
int port = 443,
}) : _tokenProvider = tokenProvider,
_client = DirectoryServiceClient(
ClientChannel(
host,
port: port,
options: ChannelOptions(
credentials: disableTls
? const ChannelCredentials.insecure()
: const ChannelCredentials.secure(),
),
),
);