Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 502 for Scope (0.2 sec)

  1. docs/zh/docs/tutorial/security/simple-oauth2.md

    不过也不用担心,前端仍可以显示终端用户所需的名称。
    
    数据库模型也可以使用所需的名称。
    
    但对于登录*路径操作*,则要使用兼容规范的 `username` 和 `password`,(例如,实现与 API 文档集成)。
    
    该规范要求必须以表单数据形式发送 `username` 和 `password`,因此,不能使用 JSON 对象。
    
    ### `Scope`(作用域)
    
    OAuth2 还支持客户端发送**`scope`**表单字段。
    
    虽然表单字段的名称是 `scope`(单数),但实际上,它是以空格分隔的,由多个**scope**组成的长字符串。
    
    **作用域**只是不带空格的字符串。
    
    常用于声明指定安全权限,例如:
    
    * 常见用例为,`users:read` 或 `users:write`
    * 脸书和 Instagram 使用 `instagram_basic`
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

    import org.apache.maven.di.Key;
    import org.apache.maven.di.Scope;
    import org.apache.maven.di.impl.Binding;
    import org.apache.maven.di.impl.DIException;
    import org.apache.maven.di.impl.Dependency;
    import org.apache.maven.di.impl.InjectorImpl;
    import org.apache.maven.execution.scope.internal.MojoExecutionScope;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.codehaus.plexus.PlexusContainer;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle-api.xml

            <module name="JavadocType">
                <property name="scope" value="protected"/>
                <!-- Allow the use of unrecognized tags like @apiNote -->
                <property name="allowUnknownTags" value="true"/>
            </module>
    
            <!-- TODO - switch this on -->
            <!--<module name="JavadocMethod">-->
                <!--<property name="scope" value="package"/>-->
            <!--</module>-->
    
        </module>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Nov 17 23:20:14 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeCoreModule.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution.scope.internal;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    
    import org.apache.maven.execution.MojoExecutionListener;
    
    /**
     * MojoExecutionScopeCoreModule
     */
    @Named
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    import static org.apache.maven.api.ExtensibleEnums.pathScope;
    
    /**
     * Path scope.
     * A path scope is used to determine the kind of build or class path that will be built when resolving
     * dependencies using the {@link org.apache.maven.api.services.DependencyResolver} service.
     * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. api/maven-api-settings/pom.xml

          <artifactId>maven-api-xml</artifactId>
        </dependency>
    
        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-api</artifactId>
          <scope>test</scope>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <executions>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 15:53:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        }
    
        public void setArtifactScope(ArtifactScopeEnum artifactScope) {
            this.artifactScope = artifactScope;
        }
    
        public void setScope(String scope) {
            this.artifactScope = scope == null ? ArtifactScopeEnum.DEFAULT_SCOPE : ArtifactScopeEnum.valueOf(scope);
        }
    
        public String getClassifier() {
            return classifier;
        }
    
        public void setClassifier(String classifier) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. docs_src/security/tutorial005_py310.py

            raise credentials_exception
        user = get_user(fake_users_db, username=token_data.username)
        if user is None:
            raise credentials_exception
        for scope in security_scopes.scopes:
            if scope not in token_data.scopes:
                raise HTTPException(
                    status_code=status.HTTP_401_UNAUTHORIZED,
                    detail="Not enough permissions",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

    import org.apache.maven.execution.scope.internal.MojoExecutionScope;
    import org.apache.maven.execution.scope.internal.MojoExecutionScopeModule;
    import org.apache.maven.extension.internal.CoreExports;
    import org.apache.maven.extension.internal.CoreExtensionEntry;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.apache.maven.session.scope.internal.SessionScopeModule;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

        public ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve)
                throws MetadataGraphTransformationException {
            try {
                if (dirtyGraph == null || dirtyGraph.isEmpty()) {
                    return null;
                }
    
                MetadataGraph cleanGraph = conflictResolver.resolveConflicts(dirtyGraph, scope);
    
                if (cleanGraph == null || cleanGraph.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top