File: test_entity_oauthserverinfo.yaml

package info (click to toggle)
python-mastodon 2.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,836 kB
  • sloc: python: 9,438; makefile: 206; sql: 98; sh: 27
file content (96 lines) | stat: -rw-r--r-- 4,169 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate, br
      Authorization:
      - DUMMY
      Connection:
      - keep-alive
      User-Agent:
      - mastodonpy
    method: GET
    uri: https://mastodon.social/.well-known/oauth-authorization-server
  response:
    body:
      string: '{"issuer": "https://mastodon.social/", "authorization_endpoint": "https://mastodon.social/oauth/authorize",
        "token_endpoint": "https://mastodon.social/oauth/token", "revocation_endpoint":
        "https://mastodon.social/oauth/revoke", "userinfo_endpoint": "https://mastodon.social/oauth/userinfo",
        "scopes_supported": ["read", "profile", "write", "write:accounts", "write:blocks",
        "write:bookmarks", "write:conversations", "write:favourites", "write:filters",
        "write:follows", "write:lists", "write:media", "write:mutes", "write:notifications",
        "write:reports", "write:statuses", "read:accounts", "read:blocks", "read:bookmarks",
        "read:favourites", "read:filters", "read:follows", "read:lists", "read:mutes",
        "read:notifications", "read:search", "read:statuses", "follow", "push", "admin:read",
        "admin:read:accounts", "admin:read:reports", "admin:read:domain_allows", "admin:read:domain_blocks",
        "admin:read:ip_blocks", "admin:read:email_domain_blocks", "admin:read:canonical_email_blocks",
        "admin:write", "admin:write:accounts", "admin:write:reports", "admin:write:domain_allows",
        "admin:write:domain_blocks", "admin:write:ip_blocks", "admin:write:email_domain_blocks",
        "admin:write:canonical_email_blocks"], "response_types_supported": ["code"],
        "response_modes_supported": ["query", "fragment", "form_post"], "grant_types_supported":
        ["authorization_code", "client_credentials"], "token_endpoint_auth_methods_supported":
        ["client_secret_basic", "client_secret_post"], "code_challenge_methods_supported":
        ["S256"], "service_documentation": "https://docs.joinmastodon.org/", "app_registration_endpoint":
        "https://mastodon.social/api/v1/apps"}'
    headers:
      Connection:
      - keep-alive
      Date:
      - Sat, 16 Aug 2025 20:12:23 GMT
      Strict-Transport-Security:
      - max-age=31557600
      Vary:
      - Origin, Accept-Encoding
      X-Cache:
      - MISS, MISS, MISS
      X-Cache-Hits:
      - 0, 0, 0
      X-Served-By:
      - cache-fra-eddf8230103-FRA, cache-fra-eddf8230103-FRA, cache-hel1410030-HEL
      X-Timer:
      - S1755375143.228865,VS0,VE83
      accept-ranges:
      - none
      alt-svc:
      - h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
      cache-control:
      - max-age=0, private, must-revalidate
      content-length:
      - '1563'
      content-security-policy:
      - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
        ''self'' https://mastodon.social; img-src ''self'' data: blob: https://mastodon.social
        https://files.mastodon.social; media-src ''self'' data: https://mastodon.social
        https://files.mastodon.social; manifest-src ''self'' https://mastodon.social;
        form-action ''self''; child-src ''self'' blob: https://mastodon.social; worker-src
        ''self'' blob: https://mastodon.social; connect-src ''self'' data: blob: https://mastodon.social
        https://files.mastodon.social wss://streaming.mastodon.social; script-src
        ''self'' https://mastodon.social ''wasm-unsafe-eval''; frame-src ''self''
        https:; style-src ''self'' https://mastodon.social ''nonce-5yH82vADHKjnBUGAG/8YpQ=='''
      content-type:
      - application/json; charset=utf-8
      etag:
      - W/"6039ea331b50e2b000b155f90aaead96"
      referrer-policy:
      - same-origin
      transfer-encoding:
      - chunked
      via:
      - 1.1 varnish, 1.1 varnish, 1.1 varnish
      x-content-type-options:
      - nosniff
      x-frame-options:
      - DENY
      x-request-id:
      - 8bc5e34e596581252d2d294d61a929c5
      x-runtime:
      - '0.005838'
      x-xss-protection:
      - '0'
    status:
      code: 200
      message: OK
version: 1