• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AxeWP / wp-graphql-headless-login / #71

07 Jun 2025 09:04AM UTC coverage: 82.559% (-0.4%) from 82.929%
#71

push

php-coveralls

web-flow
Merge 136470403 into fe4ece4d0

121 of 163 new or added lines in 26 files covered. (74.23%)

10 existing lines in 8 files now uncovered.

2291 of 2775 relevant lines covered (82.56%)

24.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.75
/src/Type/Enum/GoogleProviderPromptTypeEnum.php
1
<?php
2
/**
3
 * The GoogleProviderPromptTypeEnum.
4
 *
5
 * @package WPGraphQL\Login\Type\Enum
6
 * @since 0.0.1
7
 */
8

9
declare( strict_types = 1 );
10

11
namespace WPGraphQL\Login\Type\Enum;
12

13
use WPGraphQL\Login\Vendor\AxeWP\GraphQL\Abstracts\EnumType;
14

15
/**
16
 * Class - GoogleProviderPromptTypeEnum
17
 */
18
class GoogleProviderPromptTypeEnum extends EnumType {
19
        /**
20
         * {@inheritDoc}
21
         */
22
        public static function type_name(): string {
23
                return 'GoogleProviderPromptTypeEnum';
67✔
24
        }
25

26
        /**
27
         * {@inheritDoc}
28
         */
29
        public static function get_description(): string {
UNCOV
30
                return __( 'The Google OAuth2 Provider prompt type.', 'wp-graphql-headless-login' );
×
31
        }
32

33
        /**
34
         * {@inheritDoc}
35
         */
36
        public static function get_values(): array {
37
                return [
67✔
38
                        'NONE'           => [
67✔
39
                                'value'       => 'none',
67✔
40
                                'description' => static fn () => __( 'The authorization server does not display any authentication or user consent screens; it will return an error if the user is not already authenticated and has not pre-configured consent for the requested scopes. You can use none to check for existing authentication and/or consent.', 'wp-graphql-headless-login' ),
67✔
41
                        ],
67✔
42
                        'CONSENT'        => [
67✔
43
                                'value'       => 'consent',
67✔
44
                                'description' => static fn () => __( 'The authorization server prompts the user for consent before returning information to the client.', 'wp-graphql-headless-login' ),
67✔
45
                        ],
67✔
46
                        'SELECT_ACCOUNT' => [
67✔
47
                                'value'       => 'select_account',
67✔
48
                                'description' => static fn () => __( 'The authorization server prompts the user to select a user account. This allows a user who has multiple accounts at the authorization server to select amongst the multiple accounts that they may have current sessions for.', 'wp-graphql-headless-login' ),
67✔
49
                        ],
67✔
50
                ];
67✔
51
        }
52
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc