Server device, service method, program, and non-transitory computer-readable information recording medium
First Claim
1. A device configured to receive access from multiple applications running on a terminal device, comprising:
- at least one memory configured to store computer program code; and
at least one processor configured to access the computer program code and operate as instructed by the computer program code, the computer program code configured to;
when a first access token that is an access token to one of the multiple applications is stored in a nonvolatile storage region of the terminal device, receive, from the one of the multiple applications, an access request specifying the first access token and when the first access token is not stored in the nonvolatile storage region, receive, from the one of the multiple applications, a sign-in request specifying a user name and a password;
perform authentication with the user name and password specified in the sign-in request when the sign-in request transmitted by the one of the multiple applications running on the terminal device is received;
based on the determining that the authentication is successful, issue the first access token to a transmission source application having transmitted the sign-in request, transmit the issued first access token to the transmission source application, and approve access from the transmission source application;
store the issued first access token in association with a terminal identification code identifying the terminal device on which the transmission source application having transmitted the sign-in request runs, with an addition of an expiration date, and postpone an expiration date to a second access token stored in association with the terminal identification code, the second access token being an access token different from the first access token; and
approve access from a transmission source application having transmitted the access request and postpone expiration dates to the first access token specified in the access request and the second access token stored in association with the terminal identification code of the terminal device on which the transmission source application runs when the access request transmitted by the one of the multiple applications running on the terminal device is received and the first access token specified in the access request is stored in association with the terminal identification code and as being unexpired.
3 Assignments
0 Petitions
Accused Products
Abstract
A server device (100) receives access from an application (31) running on a terminal device (200). The server device (100) authenticates the application (31) of the terminal device (200) with a user name and a password and if successful, transmits an access token to the application (31) and approves access. Issuing an access token, the server device (100) postpones the expiration date given to other access tokens associated with the terminal device (200). When an access token received from the application (31) of the terminal device (200) is associated with the terminal device (200) and stored as being unexpired, the server device (100) approves access from the application (31) and postpones the expiration dates given to all access tokens associated with the terminal device (200).
7 Citations
8 Claims
-
1. A device configured to receive access from multiple applications running on a terminal device, comprising:
-
at least one memory configured to store computer program code; and at least one processor configured to access the computer program code and operate as instructed by the computer program code, the computer program code configured to; when a first access token that is an access token to one of the multiple applications is stored in a nonvolatile storage region of the terminal device, receive, from the one of the multiple applications, an access request specifying the first access token and when the first access token is not stored in the nonvolatile storage region, receive, from the one of the multiple applications, a sign-in request specifying a user name and a password; perform authentication with the user name and password specified in the sign-in request when the sign-in request transmitted by the one of the multiple applications running on the terminal device is received; based on the determining that the authentication is successful, issue the first access token to a transmission source application having transmitted the sign-in request, transmit the issued first access token to the transmission source application, and approve access from the transmission source application; store the issued first access token in association with a terminal identification code identifying the terminal device on which the transmission source application having transmitted the sign-in request runs, with an addition of an expiration date, and postpone an expiration date to a second access token stored in association with the terminal identification code, the second access token being an access token different from the first access token; and approve access from a transmission source application having transmitted the access request and postpone expiration dates to the first access token specified in the access request and the second access token stored in association with the terminal identification code of the terminal device on which the transmission source application runs when the access request transmitted by the one of the multiple applications running on the terminal device is received and the first access token specified in the access request is stored in association with the terminal identification code and as being unexpired. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of receiving access from multiple applications running on a terminal device, the method performed by a server device comprising,
when a first access token that is an access token to one of the multiple applications is stored in a nonvolatile storage region of the terminal device receiving, from the one of the multiple applications, an access request specifying the first access token and when the first access token is not stored in the nonvolatile storage region, receiving, from the one of the multiple applications, a sign-in request specifying a user name a password; -
performing authentication with the user name and password specified in the sign-in request when the sign-in request transmitted by the one of the multiple applications running on the terminal device is received; based on determining that the authentication is successful, issuing the first access token to a transmission source application having transmitted the sign-in request, transmitting the issued first access token to the transmission source application, and approving access from the transmission source application; storing the issued first access token in association with a terminal identification code identifying the terminal device on which the transmission source application having transmitted the sign-in request runs with an addition of an expiration date, and postponing an expiration date to a second access token stored in association with the terminal identification code, the second access token being an access token different from the first access token; and approving access from a transmission source application having transmitted the access request and postponing the expiration dates to the first access token specified in the access request and the second access token stored in association with the terminal identification code of the terminal device on which the transmission source application runs when the access request transmitted by the one of the multiple applications running on the terminal device is received and the access token specified in the access request is stored in association with the terminal identification code and as being unexpired.
-
-
8. A non-transitory computer-readable information recording medium on which a program executed by a computer configured to receive access from multiple applications running on a terminal device is recorded, the program causing the computer to:
-
when a first access token that is an access token to one of the multiple applications is stored in a nonvolatile storage region of the terminal device, receive, from the one of the multiple applications, an access request specifying the first access token and when the first access token is not stored in the nonvolatile storage region, receive, from the one of the multiple applications, a sign-in request specifying a user name and a password, perform authentication with the user name and password specified in the sign-in request when the sign-in request transmitted by the one of the multiple applications running on the terminal device is received; based on determining that the authentication is successful, issue the first access token to a transmission source application having transmitted the sign-in request, transmit the issued first access token to the transmission source application, and approve access from the transmission source application; store the issued first access token in association with a terminal identification code identifying the terminal device on which the transmission source application having transmitted the sign-in request runs, with an addition of an expiration date, and postpone an expiration date to a second access token stored in association with the terminal identification code, the second access token being an access token differrent from the first access token; and approve access from a transmission source application having transmitted the access request and postpone expiration dates to the first access token specified in the access request and the second access token stored in association with the terminal identification code of the terminal device on which the transmission source application runs when the access request transmitted by the one of the multiple applications running on the terminal device is received and the first access token specified in the access request is stored in association with the terminal identification code and as being unexpired.
-
Specification