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

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

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

push

php-coveralls

web-flow
Merge a58b52098 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

91.67
/src/Type/WPObject/LinkedIdentity.php
1
<?php
2
/**
3
 * The GraphQL LinkedIdentity object type.
4
 *
5
 * @package WPGraphQL\Login\Type\WPObject
6
 */
7

8
declare( strict_types = 1 );
9

10
namespace WPGraphQL\Login\Type\WPObject;
11

12
use WPGraphQL\Login\Type\Enum\ProviderEnum;
13
use WPGraphQL\Login\Vendor\AxeWP\GraphQL\Abstracts\ObjectType;
14

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

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

33
        /**
34
         * {@inheritDoc}
35
         */
36
        public static function get_fields(): array {
37
                return [
67✔
38
                        'provider' => [
67✔
39
                                'type'        => ProviderEnum::get_type_name(),
67✔
40
                                'description' => static fn () => __( 'The login provider which provided the identity.', 'wp-graphql-headless-login' ),
67✔
41
                        ],
67✔
42
                        'id'       => [
67✔
43
                                'type'        => 'ID',
67✔
44
                                'description' => static fn () => __( 'The internal user identifier from the login provider.', 'wp-graphql-headless-login' ),
67✔
45
                        ],
67✔
46
                ];
67✔
47
        }
48
}
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