java/app/app/src/main/java/com/example/app/components/DashboardFragment.java [47:54]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Amplify.Auth.fetchAuthSession(
                result -> {

                    AWSCognitoAuthSession cognitoAuthSession = (AWSCognitoAuthSession) result;
                    switch(cognitoAuthSession.getIdentityId().getType()) {
                        case SUCCESS:
                            // Get a valid user JWT.
                            String accessToken = cognitoAuthSession.getUserPoolTokens().getValue().getIdToken();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java/app/app/src/main/java/com/example/app/components/UserDataFragment.java [87:92]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Amplify.Auth.fetchAuthSession(
                        result -> {
                            AWSCognitoAuthSession cognitoAuthSession = (AWSCognitoAuthSession) result;
                            switch(cognitoAuthSession.getIdentityId().getType()) {
                                case SUCCESS:
                                    String accessToken = cognitoAuthSession.getUserPoolTokens().getValue().getIdToken();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



