Skip to content

Commit

Permalink
Revert "Examples: Add a JWT authentication example (#5154)"
Browse files Browse the repository at this point in the history
This reverts commit ac52e27.

See #5665. Right now it is not any more informative than the header
example, and it encourages some practices I'd rather avoid. It will get
re-added later with improvements.
  • Loading branch information
ejona86 committed May 8, 2019
1 parent bbe5c2e commit 1b6c131
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 580 deletions.
77 changes: 0 additions & 77 deletions examples/AUTHENTICATION_EXAMPLE.md

This file was deleted.

18 changes: 0 additions & 18 deletions examples/BUILD.bazel
Expand Up @@ -98,24 +98,6 @@ java_binary(
],
)

java_binary(
name = "auth-client",
testonly = 1,
main_class = "io.grpc.examples.authentication.AuthClient",
runtime_deps = [
":examples",
],
)

java_binary(
name = "auth-server",
testonly = 1,
main_class = "io.grpc.examples.authentication.AuthServer",
runtime_deps = [
":examples",
],
)

java_binary(
name = "route-guide-client",
testonly = 1,
Expand Down
2 changes: 0 additions & 2 deletions examples/README.md
Expand Up @@ -25,8 +25,6 @@ before trying out the examples.

- [Json serialization](src/main/java/io/grpc/examples/advanced)

- [Authentication](AUTHENTICATION_EXAMPLE.md)

- [Google Authentication](example-gauth/GOOGLE_AUTH_EXAMPLE.md)

### To build the examples
Expand Down
16 changes: 0 additions & 16 deletions examples/build.gradle
Expand Up @@ -90,20 +90,6 @@ task helloWorldClient(type: CreateStartScripts) {
classpath = startScripts.classpath
}

task authServer(type: CreateStartScripts) {
mainClassName = 'io.grpc.examples.authentication.AuthServer'
applicationName = 'auth-server'
outputDir = new File(project.buildDir, 'tmp')
classpath = startScripts.classpath
}

task authClient(type: CreateStartScripts) {
mainClassName = 'io.grpc.examples.authentication.AuthClient'
applicationName = 'auth-client'
outputDir = new File(project.buildDir, 'tmp')
classpath = startScripts.classpath
}

task compressingHelloWorldClient(type: CreateStartScripts) {
mainClassName = 'io.grpc.examples.experimental.CompressingHelloWorldClient'
applicationName = 'compressing-hello-world-client'
Expand All @@ -116,8 +102,6 @@ applicationDistribution.into('bin') {
from(routeGuideClient)
from(helloWorldServer)
from(helloWorldClient)
from(authServer)
from(authClient)
from(compressingHelloWorldClient)
fileMode = 0755
}
109 changes: 0 additions & 109 deletions examples/src/main/java/io/grpc/examples/authentication/AuthClient.java

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 1b6c131

Please sign in to comment.