public DeviceAuthenticationMethod(ILogger logger, IDevicePreferences preferences, IAWSSDK aws, string region, string userPoolId, string clientId, string identityPoolId) { _logger = logger; _preferences = preferences; _aws = aws; _region = region; _userPoolId = userPoolId; _clientId = clientId; _identityPoolId = identityPoolId; _cipClient = _aws.CreateCognitoIdentityProviderClient( _aws.CreateAnonymousAWSCredentials(), _region ); }
public IAnonymousAWSCredentials CreateAnonymousAWSCredentials() { return(_sdk.CreateAnonymousAWSCredentials()); }