Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for error (0.16 sec)

  1. docs/sts/client_grants/sts_element.py

            :param data: string data to be parsed.
            :return: Returns an STSElement.
            """
            try:
                return cls(root_name, cElementTree.fromstring(data))
            except _ETREE_EXCEPTIONS as error:
                raise InvalidXMLError(
                    '"{}" XML is not parsable. Message: {}'.format(
                        root_name, error.message
                    )
                )
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  2. docs/sts/client_grants/__init__.py

                if response.status != 200:
                    message = "Credential refresh failed, response: %s"
                    raise CredentialRetrievalError(
                        provider=method,
                        error_msg=message % response.status,
                    )
    
                creds = json.loads(response.data)
    
                query = {}
                query['Action'] = 'AssumeRoleWithClientGrants'
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  3. docs/sts/web-identity.py

                  "scope": "openid"}
    
        url = authorize_url + "?" + urllib.parse.urlencode(params)
        return url
    
    
    @app.route('/oauth2/callback')
    def callback():
        error = request.args.get('error', '')
        if error:
            return "Error: " + error
    
        authorization_code = request.args.get('code')
    
        data = {'grant_type': 'authorization_code',
                'code': authorization_code, 'redirect_uri': callback_uri}
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 28 01:37:51 GMT 2021
    - 2.9K bytes
    - Viewed (1)
Back to top