Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for authorization_code (0.29 sec)

  1. fastapi/security/oauth2.py

                    or in a cookie).
                    """
                ),
            ] = True,
        ):
            if not scopes:
                scopes = {}
            flows = OAuthFlowsModel(
                authorizationCode=cast(
                    Any,
                    {
                        "authorizationUrl": authorizationUrl,
                        "tokenUrl": tokenUrl,
                        "refreshUrl": refreshUrl,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  2. fastapi/openapi/docs.py

                isValid = qp.state === sentState;
    
                if ((
                  oauth2.auth.schema.get("flow") === "accessCode" ||
                  oauth2.auth.schema.get("flow") === "authorizationCode" ||
                  oauth2.auth.schema.get("flow") === "authorization_code"
                ) && !oauth2.auth.code) {
                    if (!isValid) {
                        oauth2.errCb({
                            authId: oauth2.auth.name,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  3. fastapi/openapi/models.py

    
    class OAuthFlows(BaseModelWithConfig):
        implicit: Optional[OAuthFlowImplicit] = None
        password: Optional[OAuthFlowPassword] = None
        clientCredentials: Optional[OAuthFlowClientCredentials] = None
        authorizationCode: Optional[OAuthFlowAuthorizationCode] = None
    
    
    class OAuth2(SecurityBase):
        type_: SecuritySchemeType = Field(default=SecuritySchemeType.oauth2, alias="type")
        flows: OAuthFlows
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top