diff --git a/packages/amplify_auth_cognito/android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/base/AtomicResult.kt b/packages/amplify_auth_cognito/android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/base/AtomicResult.kt index c68fb2d388..1dbbc972c8 100644 --- a/packages/amplify_auth_cognito/android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/base/AtomicResult.kt +++ b/packages/amplify_auth_cognito/android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/base/AtomicResult.kt @@ -1,3 +1,17 @@ +/* + * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ package com.amazonaws.amplify.amplify_auth_cognito.base import io.flutter.plugin.common.MethodChannel diff --git a/packages/amplify_auth_cognito/android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/device/Device.kt b/packages/amplify_auth_cognito/android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/device/Device.kt index 4f67e7fe3f..a064fbc423 100644 --- a/packages/amplify_auth_cognito/android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/device/Device.kt +++ b/packages/amplify_auth_cognito/android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/device/Device.kt @@ -1,3 +1,17 @@ +/* + * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ package com.amazonaws.amplify.amplify_auth_cognito.device import com.amazonaws.mobile.client.results.Device diff --git a/packages/amplify_auth_cognito/android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/device/DeviceHandler.kt b/packages/amplify_auth_cognito/android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/device/DeviceHandler.kt index 2757501050..371b752269 100644 --- a/packages/amplify_auth_cognito/android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/device/DeviceHandler.kt +++ b/packages/amplify_auth_cognito/android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/device/DeviceHandler.kt @@ -1,3 +1,17 @@ +/* + * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ package com.amazonaws.amplify.amplify_auth_cognito.device import com.amazonaws.amplify.amplify_auth_cognito.AuthErrorHandler diff --git a/packages/amplify_auth_cognito/android/src/test/kotlin/com/amazonaws/amplify/amplify_auth_cognito/base/AtomicResultTest.kt b/packages/amplify_auth_cognito/android/src/test/kotlin/com/amazonaws/amplify/amplify_auth_cognito/base/AtomicResultTest.kt index 682cffdb57..502be36b27 100644 --- a/packages/amplify_auth_cognito/android/src/test/kotlin/com/amazonaws/amplify/amplify_auth_cognito/base/AtomicResultTest.kt +++ b/packages/amplify_auth_cognito/android/src/test/kotlin/com/amazonaws/amplify/amplify_auth_cognito/base/AtomicResultTest.kt @@ -1,3 +1,17 @@ +/* + * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ package com.amazonaws.amplify.amplify_auth_cognito.base import io.flutter.plugin.common.MethodChannel diff --git a/packages/amplify_auth_cognito/ios/Classes/Base/AtomicResult.swift b/packages/amplify_auth_cognito/ios/Classes/Base/AtomicResult.swift index fb8f27b725..b3a2fe0d07 100644 --- a/packages/amplify_auth_cognito/ios/Classes/Base/AtomicResult.swift +++ b/packages/amplify_auth_cognito/ios/Classes/Base/AtomicResult.swift @@ -1,9 +1,17 @@ -// -// AtomicResult.swift -// amplify_auth_cognito -// -// Created by Nys, Dillon on 7/15/21. -// +/* + * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ import Foundation diff --git a/packages/amplify_auth_cognito/ios/Classes/Device/AWSAuthDevice+Codable.swift b/packages/amplify_auth_cognito/ios/Classes/Device/AWSAuthDevice+Codable.swift index b1e76a7710..b9293a4a2b 100644 --- a/packages/amplify_auth_cognito/ios/Classes/Device/AWSAuthDevice+Codable.swift +++ b/packages/amplify_auth_cognito/ios/Classes/Device/AWSAuthDevice+Codable.swift @@ -1,9 +1,17 @@ -// -// AWSAuthDevice+Codable.swift -// amplify_auth_cognito -// -// Created by Nys, Dillon on 7/15/21. -// +/* + * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ import Foundation import Amplify diff --git a/packages/amplify_auth_cognito/ios/Classes/Device/DeviceHandler.swift b/packages/amplify_auth_cognito/ios/Classes/Device/DeviceHandler.swift index 6689e869df..24649f1f09 100644 --- a/packages/amplify_auth_cognito/ios/Classes/Device/DeviceHandler.swift +++ b/packages/amplify_auth_cognito/ios/Classes/Device/DeviceHandler.swift @@ -1,9 +1,17 @@ -// -// DeviceHandler.swift -// amplify_auth_cognito -// -// Created by Nys, Dillon on 7/15/21. -// +/* + * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ import Foundation import Flutter diff --git a/packages/amplify_auth_cognito/lib/src/CognitoDevice/cognito_device.dart b/packages/amplify_auth_cognito/lib/src/CognitoDevice/cognito_device.dart index 3841830673..6aced6c427 100644 --- a/packages/amplify_auth_cognito/lib/src/CognitoDevice/cognito_device.dart +++ b/packages/amplify_auth_cognito/lib/src/CognitoDevice/cognito_device.dart @@ -1,3 +1,18 @@ +/* + * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + import 'package:amplify_auth_cognito/amplify_auth_cognito.dart'; import 'package:collection/collection.dart'; diff --git a/packages/amplify_auth_plugin_interface/lib/src/Exceptions/device_not_tracked_exception.dart b/packages/amplify_auth_plugin_interface/lib/src/Exceptions/device_not_tracked_exception.dart index e832f4f3b3..873c7a4971 100644 --- a/packages/amplify_auth_plugin_interface/lib/src/Exceptions/device_not_tracked_exception.dart +++ b/packages/amplify_auth_plugin_interface/lib/src/Exceptions/device_not_tracked_exception.dart @@ -1,3 +1,18 @@ +/* + * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + import 'package:amplify_auth_plugin_interface/amplify_auth_plugin_interface.dart'; /// {@template device_not_tracked_exception} diff --git a/packages/amplify_auth_plugin_interface/lib/src/types/auth_device.dart b/packages/amplify_auth_plugin_interface/lib/src/types/auth_device.dart index 42f047c616..e963ed0efe 100644 --- a/packages/amplify_auth_plugin_interface/lib/src/types/auth_device.dart +++ b/packages/amplify_auth_plugin_interface/lib/src/types/auth_device.dart @@ -1,3 +1,18 @@ +/* + * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + /// @{template auth_device} /// Common interface for devices tracked by an authentication provider. /// @{end_template}