Passed
Push — master ( 40365b...8961a7 )
by Derek Stephen
02:56
created

SelfSignedProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getAllowedClientOptions() 0 3 1
1
<?php
2
3
namespace App\OAuth;
4
5
use League\OAuth2\Client\Provider\GenericProvider;
6
7
class SelfSignedProvider extends GenericProvider
8
{
9
    /**
10
     * @param array $options
11
     * @return array
12
     */
13
    protected function getAllowedClientOptions(array $options)
14
    {
15
        return [ 'timeout', 'proxy', 'verify' ];
16
    }
17
}