File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 15
15
use WP_User ;
16
16
17
17
class Client implements ClientInterface {
18
- const POST_TYPE = 'oauth2_client ' ;
19
- const CLIENT_SECRET_KEY = '_oauth2_client_secret ' ;
20
- const TYPE_KEY = '_oauth2_client_type ' ;
21
- const REDIRECT_URI_KEY = '_oauth2_redirect_uri ' ;
18
+ const POST_TYPE = 'oauth2_client ' ;
19
+ const CLIENT_SECRET_KEY = '_oauth2_client_secret ' ;
20
+ const TYPE_KEY = '_oauth2_client_type ' ;
21
+ const REDIRECT_URI_KEY = '_oauth2_redirect_uri ' ;
22
22
const AUTH_CODE_KEY_PREFIX = '_oauth2_authcode_ ' ;
23
- const AUTH_CODE_LENGTH = 12 ;
24
- const CLIENT_ID_LENGTH = 12 ;
23
+ const AUTH_CODE_LENGTH = 12 ;
24
+ const CLIENT_ID_LENGTH = 12 ;
25
25
const CLIENT_SECRET_LENGTH = 48 ;
26
- const AUTH_CODE_AGE = 600 ; // 10 * MINUTE_IN_SECONDS
26
+ const AUTH_CODE_AGE = 600 ; // 10 * MINUTE_IN_SECONDS
27
27
28
28
/**
29
29
* @var WP_Post
Original file line number Diff line number Diff line change 15
15
16
16
class Access_Token extends Token {
17
17
const META_PREFIX = '_oauth2_access_ ' ;
18
- const KEY_LENGTH = 12 ;
18
+ const KEY_LENGTH = 12 ;
19
19
20
20
/**
21
21
* @return string Meta prefix.
You can’t perform that action at this time.
0 commit comments