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

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

03 Aug 2025 09:57PM UTC coverage: 82.325% (-0.2%) from 82.559%
#77

push

php-coveralls

web-flow
Merge 30a6f1f59 into ecab1fdba

2287 of 2778 relevant lines covered (82.33%)

24.01 hits per line

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

75.0
/src/Type/WPInterface/ClientOptions.php
1
<?php
2
/**
3
 * The ClientOptions GraphQL Object.
4
 *
5
 * @package WPGraphQL\Login\Type\WPInterface
6
 */
7

8
declare( strict_types = 1 );
9

10
namespace WPGraphQL\Login\Type\WPInterface;
11

12
use WPGraphQL\Login\Auth\ProviderConfig\ProviderConfig;
13
use WPGraphQL\Login\Vendor\AxeWP\GraphQL\Abstracts\InterfaceType;
14
use WPGraphQL\Login\Vendor\AxeWP\GraphQL\Traits\TypeResolverTrait;
15

16
/**
17
 * Class - ClientOptions
18
 */
19
class ClientOptions extends InterfaceType {
20
        use TypeResolverTrait;
21

22
        /**
23
         * {@inheritDoc}
24
         */
25
        public static function type_name(): string {
26
                return 'LoginClientOptions';
67✔
27
        }
28

29
        /**
30
         * {@inheritDoc}
31
         */
32
        public static function get_description(): string {
33
                return __( 'The Client Options for the Headless Login provider.', 'wp-graphql-headless-login' );
×
34
        }
35

36
        /**
37
         * {@inheritDoc}
38
         */
39
        public static function get_fields(): array {
40
                return ProviderConfig::default_client_options_fields();
67✔
41
        }
42

43
        /**
44
         * {@inheritDoc}
45
         *
46
         * @param array<string,mixed> $value The value.
47
         */
48
        public static function get_resolved_type_name( $value ): ?string {
49
                return graphql_format_type_name( ucfirst( $value['__typename'] ) . 'ClientOptions' );
2✔
50
        }
51
}
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