Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for next (0.13 sec)

  1. docs/sts/client_grants/sts_element.py

        def get_child_text(self, name, strict=True):
            """Extract text of a child element. If strict, and child element is
            not present, raises InvalidXMLError and otherwise returns
            None.
    
            """
            if strict:
                try:
                    return self.element.find('sts:{}'.format(name), _STS_NS).text
                except _ETREE_EXCEPTIONS as error:
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  2. docs/sts/client_grants/__init__.py

                creds = result.find('Credentials')
                return dict(
                    access_key=creds.get_child_text('AccessKeyId'),
                    secret_key=creds.get_child_text('SecretAccessKey'),
                    token=creds.get_child_text('SessionToken'),
                    expiry_time=parse(creds.get_child_text('Expiration')).isoformat())
    
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  3. docs/sts/web-identity.py

        'sts',
        region_name='us-east-1',
        use_ssl=False,
        endpoint_url='http://localhost:9000',
    )
    
    app = Flask(__name__)
    
    
    @app.route('/')
    def homepage():
        text = '<a href="%s">Authenticate with keycloak</a>'
        return text % make_authorization_url()
    
    
    def make_authorization_url():
        # Generate a random string for the state parameter
        # Save it for use later to prevent xsrf attacks
    
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jul 28 01:37:51 GMT 2021
    - 2.9K bytes
    - Viewed (1)
Back to top