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

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

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

push

php-coveralls

web-flow
dev: add support for lazy-loading description/deprecationReason config values (#170)

* dev: add support for lazy-loading description/deprecationReason config values

* chore: add missing mutation descriptions

* chore: update dep to release

* .

* chore: formatting

* Update src/Type/Enum/GoogleProviderPromptTypeEnum.php

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: bump tested-up-to

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

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

91.67
/src/Type/Input/OAuthProviderResponseInput.php
1
<?php
2
/**
3
 * The OAuth ProviderResponseInput GraphQL Object.
4
 *
5
 * @package WPGraphQL\Login\Type\Input
6
 */
7

8
declare( strict_types = 1 );
9

10
namespace WPGraphQL\Login\Type\Input;
11

12
use WPGraphQL\Login\Vendor\AxeWP\GraphQL\Abstracts\InputType;
13

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

25
        /**
26
         * {@inheritDoc}
27
         */
28
        public static function get_description(): string {
UNCOV
29
                return __( 'The parsed response from the OAuth Provider.', 'wp-graphql-headless-login' );
×
30
        }
31

32
        /**
33
         * {@inheritDoc}
34
         */
35
        public static function get_fields(): array {
36
                return [
67✔
37
                        'code'  => [
67✔
38
                                'type'        => [ 'non_null' => 'String' ],
67✔
39
                                'description' => static fn () => __( 'The authorization code returned from the OAuth provider.', 'wp-graphql-headless-login' ),
67✔
40
                        ],
67✔
41
                        'state' => [
67✔
42
                                'type'        => 'String',
67✔
43
                                'description' => static fn () => __( 'The state returned from the OAuth provider.', 'wp-graphql-headless-login' ),
67✔
44
                        ],
67✔
45
                ];
67✔
46
        }
47
}
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